aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster/fsm-events.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Got the 4th PWM channel to work, ish. (channel 4 is inverted though)Selene ToyKeeper2017-09-031-4/+0
| | | | | | | | | 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.
* Fixed a crash when user presses the button more times than the UI supports.Selene ToyKeeper2017-08-281-1/+1
| | | | | (need to leave room for a trailing 0 in the array, oops)
* Added beacons/strobes to DarkHorse.Selene ToyKeeper2017-08-261-1/+6
| | | | | Added a way to explicitly cancel the current "nice" delay without changing state.
* Added battcheck mode to ramping-ui. It's bigger than I had hoped. :(Selene ToyKeeper2017-08-251-0/+12
| | | | | | Added fsm-misc.*, which currently only has interruptible blink functions in it. (for blinking out numbers and such)
* Added loop() to API, executes constantly.Selene ToyKeeper2017-08-241-0/+23
| | | | | | Added nice_delay_ms() to process events while waiting, and abort on state change. Converted ramping-ui strobe to smoothly variable with party and tactical modes.
* Completely reorganized SpaghettiMonster code into smaller logical pieces: ↵Selene ToyKeeper2017-08-191-0/+137
fsm-*.c and fsm-*.h.