aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster/fsm-states.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-09-03Got the 4th PWM channel to work, ish. (channel 4 is inverted though)Selene ToyKeeper1-4/+7
Moved go_to_suspend thing into main() instead of making each UI handle that during loop(). Made default_state() optional. Fixed bug where battcheck and other number readouts could interfere with the state which interrupted them. (they would sometimes turn the LED off after the new state had already started) Updated darkhorse's moon levels to match new ramp on D4 hardware.
2017-08-27Ramp config mode actually works now...Selene ToyKeeper1-6/+7
Added EV_reenter_state event to indicate an obscuring state was popped off the stack and the underlying one is now on top again.
2017-08-23Added thermal regulation to SpaghettiMonster / Baton.Selene ToyKeeper1-0/+2
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/+108
fsm-*.c and fsm-*.h.