#define VOLTAGE_MON // Comment out to disable - ramp down and eventual shutoff when battery is low
#define VOLTAGE_MON // Comment out to disable - ramp down and eventual shutoff when battery is low
#define CHARGING // Comment out to disable - Light switches off when charger is connected
#define MODES 0,3,14,39,125,255 // Must be low to high, and must start with 0
#define MODES 0,3,14,39,125,255 // Must be low to high, and must start with 0
#define ALT_MODES 0,3,14,39,125,255 // Must be low to high, and must start with 0, the defines the level for the secondary output. Comment out if no secondary output
#define ALT_MODES 0,3,14,39,125,255 // Must be low to high, and must start with 0, the defines the level for the secondary output. Comment out if no secondary output
#define MODE_PWM 0,PHASE,FAST,FAST,FAST,PHASE // Define one per mode above. 0 tells the light to go to sleep
#define MODE_PWM 0,PHASE,FAST,FAST,FAST,PHASE // Define one per mode above. 0 tells the light to go to sleep
#define TURBO // Comment out to disable - full output with a step down after n number of seconds
#define TURBO // Comment out to disable - full output with a step down after n number of seconds
// If turbo is enabled, it will be where 255 is listed in the modes above
// If turbo is enabled, it will be where 255 is listed in the modes above
#define TURBO_TIMEOUT 5625 // How many WTD ticks before before dropping down (.016 sec each)
#define TURBO_TIMEOUT 5625 // How many WTD ticks before before dropping down (.016 sec each)
// 90 = 5625
// 90 = 5625
// 120 = 7500
// 120 = 7500
#define ADC_LOW 130 // When do we start ramping
#define ADC_LOW 130 // When do we start ramping
#define ADC_CRIT 120 // When do we shut the light off
#define ADC_CRIT 120 // When do we shut the light off
#define ADC_DELAY 188 // Delay in ticks between low-bat rampdowns (188 ~= 3s)
#define ADC_DELAY 188 // Delay in ticks between low-bat rampdowns (188 ~= 3s)
//#define MOM_ENTER_DUR 128 // .16ms each. Comment out to disable this feature
//#define MOM_ENTER_DUR 128 // .16ms each. Comment out to disable this feature
#define MOM_EXIT_DUR 128 // .16ms each
#define MOM_EXIT_DUR 128 // .16ms each
#define MOM_MODE_IDX 4 // The index of the mode to use in MODES above if momementary feature enabled, starting at index of 0
#define MOM_MODE_IDX 4 // The index of the mode to use in MODES above if momementary feature enabled, starting at index of 0