lp://staging/~digitalcircuit/flashlight-firmware/anduril2_buttonled_bright_default_ramp_level
- Get this branch:
- bzr branch lp://staging/~digitalcircuit/flashlight-firmware/anduril2_buttonled_bright_default_ramp_level
Branch merges
- Selene ToyKeeper: Pending requested
-
Diff: 21 lines (+2/-2)1 file modifiedToyKeeper/spaghetti-monster/fsm-ramping.c (+2/-2)
Branch information
Recent revisions
- 620. By Shane Synan
-
changed button LED to high at >= DEFAULT_LEVEL
Set indicator/button LED to high when ramp level is >= DEFAULT_LEVEL,
not just > DEFAULT LEVEL.This changes all Noctigon KR4 linear driver builds to blink the button
LED at high brightness when blinking the emitters, instead of blinking
the button at low brightness. For flashlights where the button LED
can be more visible than the main emitters (e.g. 365nm UV mules), this
makes it substantially easier to read the output of blinks when
there's any other visible light in the vicinity.Alternatively, the KR4 configuration could change...
#define BLINK_BRIGHTNESS DEFAULT_LEVEL
...to (DEFAULT_LEVEL + 1).But, hopefully, a single ramp level change shouldn't negatively impact
most folks. If one is trying to hit precise ramp values, stepped mode
is probably better than using the indicator/button LED as a 16 ms
frame-perfect precise signal of when to let go. - 619. By Selene Scriven <email address hidden>
-
merged in a bunch of new features...
+ runtime option for smooth ramp speed
+ runtime option for whether hold-from-off should ramp up or stay at the floor
+ runtime option to select turbo style / 2C style in Advanced UI
+ same thing, but for Simple UI
* sped up the auto-reverse timing window; it was too slow - 618. By Selene Scriven <email address hidden>
-
made it possible to use autolock in simple UI
(requires the user to set it up, so it won't happen to new users unless they do it on purpose) - 617. By Selene Scriven <email address hidden>
-
added documentation for the global config menu and jump start level
- 616. By Selene Scriven <email address hidden>
-
moved jump start into FSM so it'll be more universal and the app won't need special clauses
(also adjusted KR4 jump start levels a bit) - 615. By Selene Scriven <email address hidden>
-
made jump start level configurable at runtime, and made it activate in more places
- 614. By Selene Scriven <email address hidden>
-
force reset PWM phase when turning on from zero
(to make initial response consistent)
(otherwise, it can randomly take up to ~16ms to turn on) - 612. By Selene Scriven <email address hidden>
-
merged digitalcircuit's branch to make autolock timer configurable at build time
- 611. By Selene Scriven <email address hidden>
-
merged digitalcircuit's anduril2_
opt_disable_ autocal_ therm branch,
allowing configs to disable the thermal autocalibration feature
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp://staging/flashlight-firmware