| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Made some LVP values configurable.
Removed high_temperature() / low_temperature() shortcuts for now.
|
| |
|
|
|
|
| |
Renamed set_mode() to set_level().
Replaced sizeof() thingy with a MAX_LEVEL define.
|
| | |
|
| |
|
|
|
| |
set initial brightness to ~10lm after battery change.
|
| | |
|
| |
|
|
|
|
| |
Fixed memory error in Baton -- long-press from off didn't restart at moon.
Made Momentary and Baton go to sleep while light is off.
|
| |
|
|
|
|
|
| |
Improved brightness ramp. (lower low)
Added double-click to/from turbo in steady modes.
Moved strobes to triple-click.
|
| |
|
|
|
|
|
|
|
| |
(it was doing stuff like "press, release, release, timeout" so it didn't match "press, release, timeout")
(it may have also been missing the exact tick it needed, so I made it use >= instead of ==, but this is theoretical and harmless if I was wrong)
Made baton mode memory work a bit better for both regular and strobe modes.
Made baton fast strobe pulses shorter for better motion freezing.
Added USE_DELAY_ZERO option as an alternate for USE_FINE_DELAY.
|
|
|
Fixed 2nd PWM channel init. May have fixed 3rd and 4th too.
Added handling for complete normal clicks, but it's kind of flaky so far.
Added handling for sustained button holds.
Added missing 'arg' to state change functions.
|