alexvh's firmware. Update: Hidden strobe, Ramping and optional mode memory added.

I made a few FW versions for different applications:

1A driver for bike light

6 modes + hidden strobe: 2Hz-flasher, moon, low, med, max, batt

moon 7mA
low 50mA
med 240mA
max 1A

1A driver for EDC light

7 modes + 3 hidden strobes: moon, low, med, max, batt, 1s-beacon, ramp

moon 7mA
low 50mA
med 240mA
max 1A

3A driver for EDC light

8 modes + 3 hidden strobes: moon, low, med, high, max, batt, 1s-beacon, ramp

moon 5mA
low 40mA
med 200mA
high 600mA
max 3A

All FW versions feature:

  • off-time functions without hardware modification
  • low-voltage monitor; 4 sec low light warning and shutdown at 2.9V
  • battery check mode
  • memory is disabled because it is less relevant in off-time operation

Available here mk2_FW_mod-20150610

Thanks again to Alex and others for their source code.

ps
If you can’t flash high-amp drivers check howto: flash ATtiny with AVRDude and command prompt