#ifndef LIGHTS_H__
#define LIGHTS_H__ 1
-#define TESTING_FW 1
-
#define N_PWMLED_MODES 4
-#define N_BUTTONS 2
-
/* logging.c */
#ifdef USE_LOGGING
void init_log();
extern volatile uint16_t jiffies;
void init_adc();
void susp_adc();
-void timer_start_slow_adcs();
/* pwm.c */
#define PWM_MAX 0xFF
void status_led_on_off(unsigned char on);
/* battery.c */
-extern volatile unsigned char battery_critical;
void battery_adc();
void init_battery();
unsigned char battery_gauge();