38#ifdef CONF_BATTERY_INDICATOR
39unsigned int battery_refresh_counter = 0;
40unsigned int battery_refresh_period = 2000;
50#if defined(CONF_DSENSOR)
54 return (
int)(b / 0x618L);
58#ifdef CONF_BATTERY_INDICATOR
62#ifdef CONF_RCX_COMPILER
66void battery_refresh_core(
void) {
Internal Interface: battery handling.
void battery_refresh(void)
cause the battery voltage sensor value to be refreshed
#define BATTERY_NORMAL_THRESHOLD_MV
#define BATTERY_LOW_THRESHOLD_MV
int get_battery_mv()
get current battery voltage
Interface: direct control of LCD display.
#define dlcd_hide(a)
clear a segment directly in the LCD buffer
#define dlcd_show(a)
set a segment directly in the LCD buffer
#define BATTERY
Battery sensor.
#define ds_scale(x)
mask off bottom 6 bits
Internal LNP Interface: RCX redirected IRQ vectors.
#define HANDLER_WRAPPER(wrapstring, handstring)