aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster/fsm-adc.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-08-31Started a Meteor M43 clone UI.Selene ToyKeeper1-0/+5
So far, UI1 and battcheck both work. UI2 and UI3 and other blinkies aren't implement yet. Added 6-bar battcheck style to match Meteor (ish). Increased maximum number of clicks to 12, because WTF. If your UI needs 12 clicks, what are you even doing in life?
2017-08-26Avoid suspending at weird times by deferring the call to standby mode.Selene ToyKeeper1-0/+4
Turned strobe into a function to avoid repeating code, and made it tolerate interruption better. Got rid of delay after battcheck, since it caused problems if the user didn't wait long enough before trying to turn the light back on.
2017-08-25Made 4bar and 8bar battcheck styles work.Selene ToyKeeper1-2/+3
Added LVP handling for other modes, including battcheck.
2017-08-25Added battcheck mode to ramping-ui. It's bigger than I had hoped. :(Selene ToyKeeper1-0/+24
Added fsm-misc.*, which currently only has interruptible blink functions in it. (for blinking out numbers and such)
2017-08-24Don't send underheat warnings when LVP is active. The signals conflict.Selene ToyKeeper1-5/+5
Also, avoid immediate thermal step-down after battery change. (init array with correctly-scaled values)
2017-08-24Added a ramping UI example.Selene ToyKeeper1-0/+2
Added ramping support in general.
2017-08-23Added thermal regulation to SpaghettiMonster / Baton.Selene ToyKeeper1-4/+132
Made some LVP values configurable. Removed high_temperature() / low_temperature() shortcuts for now.
2017-08-19Completely reorganized SpaghettiMonster code into smaller logical pieces: ↵Selene ToyKeeper1-0/+136
fsm-*.c and fsm-*.h.