ev3c_battery

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.

Summary
ev3c_batterySome functions for getting the state of the battery.
Functions
ev3c_currentReturns the current of the battery.
ev3c_voltageReturns the voltage of the battery.

Functions

ev3c_current

uint32_t ev3c_current()

Returns the current of the battery.

Returns

uint32_tthe current in µA

ev3c_voltage

uint32_t ev3c_voltage()

Returns the voltage of the battery.

Returns

uint32_tthe voltage in µV
uint32_t ev3c_current()
Returns the current of the battery.
uint32_t ev3c_voltage()
Returns the voltage of the battery.
Close