This is the off-time firmware downloaded directly from JonnyC’s site. I added a mode and tweaked the levels of the modes. In this particular firmware, he didn’t list the “0” for a start position, but had the lowest at 13….and looking back at it I see I can’t read
- Settings to modify per driver
*/
#define VOLTAGE_MON // Comment out to disable
#define MEMORY // Comment out to disable
// Levels should start around 10 with Fast PWM
#define MODE_MOON 13 // Can comment out to remove mode, but should be set through soldering stars
#define MODE_LOW 20 // Can comment out to remove mode
#define MODE_MED 83 // Can comment out to remove mode
#define MODE_HIGH_W_TURBO 180 // MODE_HIGH value when turbo is enabled
#define MODE_HIGH 255 // Can comment out to remove mode
//#define MODE_TURBO 255 // Can comment out to remove mode
#define TURBO_TIMEOUT 180 // How many WTD ticks before before dropping down (.5 sec each)
#define ADC_LOW 128 // When do we start ramping
#define ADC_CRIT 118 // When do we shut the light off
He states levels should start around 10, 1 doesn’t function but 4 does…in this light. This is a twisty, no clicky and no e-switch. Apparently the twisty mechanism is why the moon mode is skipped, with a setting of 1 it’s too low for the twisty type action… it’s not positive enough and allows a mode change.
I changed the levels to 1, 4, 19, 69, 117, 255.
I added a level, called it MEDH for a total of 6 levels, but I only see 5 with the “Low” being the lowest I have access to.
// Levels should start around 10 with Fast PWM
#define MODE_MOON 1 // Can comment out to remove mode, but should be set through soldering stars
#define MODE_LOW 4 // Can comment out to remove mode
#define MODE_MED 19 // Can comment out to remove mode
#define MODE_MEDH 69 // Can comment out to remove mode
#define MODE_HIGH_W_TURBO 117 // MODE_HIGH value when turbo is enabled
#define MODE_HIGH 255 // Can comment out to remove mode
//#define MODE_TURBO 255 // Can comment out to remove mode
#define TURBO_TIMEOUT 360 // How many WTD ticks before before dropping down (.5 sec each)
#define ADC_LOW 128 // When do we start ramping
#define ADC_CRIT 118 // When do we shut the light off