00001 00011 #ifndef _BATTERY_H_ 00012 #define _BATTERY_H_ 00013 00020 #define BATTERY_NORMALV 154 00021 00022 #define BATTERY_CHARINGV 179 00023 00024 #define BATTERY_LOWV 152 00025 00027 int battery8(void); 00029 int battery(void); 00031 char battery_low(void); 00033 int battery8_avg(int n_samples); 00034 //end addtogroup 00036 00037 #endif 00038