Some functions for getting the state of the battery. It is not possible to give a percentage of the remaining energy, so only voltage and current are returned. However a voltage above 7 is good.
ev3c_battery | Some functions for getting the state of the battery. |
Functions | |
ev3c_current | Returns the current of the battery. |
ev3c_voltage | Returns the voltage of the battery. |
Returns the current of the battery.
uint32_t ev3c_current()
Returns the voltage of the battery.
uint32_t ev3c_voltage()