aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster/fsm-events.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Moved strobes from 5 clicks to "click, click, long-click".Selene ToyKeeper2017-09-101-0/+21
| | | | | Moved momentary mode from 6 clicks to 5 clicks.
* Started a Meteor M43 clone UI.Selene ToyKeeper2017-08-311-0/+168
| | | | | | | 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?
* Ramp config mode actually works now...Selene ToyKeeper2017-08-271-9/+13
| | | | | | Added EV_reenter_state event to indicate an obscuring state was popped off the stack and the underlying one is now on top again.
* Made it easier to configure the maximum number of clicks it'll try to count ↵Selene ToyKeeper2017-08-271-1/+57
| | | | | | | | in one sequence. (use #define MAX_CLICKS 5, for example) Keeps data sizes from being excessively large without having to edit FSM sources per UI.
* Added eeprom load/save API (no wear levelling yet), verified it works in ↵Selene ToyKeeper2017-08-261-0/+8
| | | | DarkHorse.
* Added beacons/strobes to DarkHorse.Selene ToyKeeper2017-08-261-0/+1
| | | | | 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/+2
| | | | | | Added fsm-misc.*, which currently only has interruptible blink functions in it. (for blinking out numbers and such)
* Started on some documentation, spaghetti-monster.txt.Selene ToyKeeper2017-08-241-0/+5
| | | | | | | Added #defines for State return values: EVENT_HANDLED, EVENT_NOT_HANDLED Improved handling of delay includes. Managed mischief.
* Added loop() to API, executes constantly.Selene ToyKeeper2017-08-241-0/+3
| | | | | | 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.
* Made ramping UI able to toggle between smooth and discrete ramping with 4 ↵Selene ToyKeeper2017-08-241-0/+13
| | | | clicks.
* Added a ramping UI example.Selene ToyKeeper2017-08-241-0/+7
| | | | | Added ramping support in general.
* Completely reorganized SpaghettiMonster code into smaller logical pieces: ↵Selene ToyKeeper2017-08-191-0/+197
fsm-*.c and fsm-*.h.