This firmware was written by our fellow forum member, JonnyC. Jon did a great job with this firmware, pulling together many popular elements into one great firmware.
He worked hard to make the code easy to understand, as shown by the great comments placed throughout.
What Features Does it Have?
Clicky Version:
- User configurable modes
- Moonlight, mode order, and mode memory selectable via 105c stars
- Fast or Phase Correct PWM, switchable by mode level
- Optional turbo timer up to 120 seconds in 0.5 second increments
- Dual PWM output option
- Low voltage ramp down and shutoff
- User configurable modes
- Quick access to highest or lowest mode order, depending on long or short press (adjustable long press duration)
- Fast or Phase Correct PWM, switchable by mode level
- Optional turbo timer in 0.016 second increments
- Dual PWM output option
- Low voltage ramp down and shutoff
- Temperature monitoring (with external sensor)
- No blinky modes, i.e. strobe, beacon, sos, etc. (by default, but others have added this functionality in custom builds, just search the threads)
- When you build this code, you need to set your compiler settings to -Os (optimize for size)
- Everything else you need to know should be explained in the code comments. Please read them first before asking a question here!
Where Can I Get A Driver With This Pre-Flashed?
- First, generate and create a HEX file from the code. Comfychair has an excellent tutorial on how to do this here.
- Second, flash the file onto your device! For more information about this process, please see this wiki.
- STAR On-time memory v1.1
- STAR Off-time memory v1.4 (requires 1uF capacitor added between star 4/PB3/pin 2 and ground)
- STAR Momentary Driver v1.4
- STAR Dual-Switch (momentary + clicky)
Link to Jon's Github Page (download FW source here!)