Go to the source code of this file.
Defines | |
#define | BATTERY_NORMAL_THRESHOLD_MV 6700 |
#define | BATTERY_LOW_THRESHOLD_MV 6300 |
Functions | |
int | get_battery_mv () |
get current battery voltage | |
void | battery_refresh (void) |
cause the battery voltage sensor value to be refreshed |
Definition in file battery.h.
void battery_refresh | ( | void | ) |
cause the battery voltage sensor value to be refreshed
int get_battery_mv | ( | ) |
brickOS is released under the
Mozilla Public License.
Original code copyright 1998-2005 by the authors. |