Thanks!
I got the updated versions added to my repository, under a dual_pwm/ subdirectory.
Additionally, I fixed the broken wires on my SRK and tried the new STAR_momentary on it. I made a few small changes for my own use, and put them in the repo too. It’s available here:
http://bazaar.launchpad.net/~toykeeper/flashlight-firmware/trunk/files/head:/ToyKeeper/STAR_SRK/
The changes are:
- Six output levels (plus “off”) instead of four.
- Short presses will cycle from high to low.
- Long presses will cycle from low to high.
- If you keep holding the button, it will cycle on its own (low to high). So, from off, simply press, hold, then release when it hits the desired level.
I tried to measure the output too, and got the following. I don’t trust my light box at the highest two levels though, and I had to estimate the highest level via ceiling bounce:
- Mode 1: 1.0 lm
- Mode 2: 12 lm
- Mode 3: 62 lm
- Mode 4: 315 lm
- Mode 5: 1148 lm
- Mode 6: 3100 lm (turbo)
This setup allows the SRK to go a lot lower than the “SRK Special” firmware RMM is currently using (it started at 43 lm). The slower PWM seems to have helped a lot! It actually emits a useful amount of light with the PWM set to 1. Thanks for implementing the per-mode PWM timings!