aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster/momentary.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-08-30Reorganized FSM files, one dir per UI.Selene ToyKeeper1-81/+0
2017-08-30Replaced FSM_*_LAYOUT with FSM_*_DRIVER because I think it makes more sense.Selene ToyKeeper1-1/+2
Made momentary.c compile again. Updated fsm-main to use whichever delay function is available.
2017-08-24Added loop() to API, executes constantly.Selene ToyKeeper1-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.
2017-08-19Extra debouncing in PCINT (don't emit event if push was rejected).Selene ToyKeeper1-14/+6
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.
2017-08-19Fixed momentary UI (API changed a little).Selene ToyKeeper1-1/+1
2017-08-19Renamed from RoundTable to SpaghettiMonster (FSM).Selene ToyKeeper1-4/+4
2017-08-19Added missing GPL header, fixed typo, fixed missing return.Selene ToyKeeper1-1/+2
2017-08-19Made LVP work.Selene ToyKeeper1-26/+14
Converted emit handling to an async queue, to avoid long-running interrupts. (moved potentially long parts to main()) Improved button press debouncing (was getting stuck sometimes). Added an EV_debug event for testing. Added and turned off some voltage averaging/lowpass logic.
2017-08-18First RoundTable example actually works (simple momentary 1-mode UI).Selene ToyKeeper1-22/+50
Changed how tk-attiny.h detects whether a layout was defined. Changed how tk-attiny.h detects number of PWM channels for new-style layouts. Added no-underscore versions of delay functions. Lots of RoundTable refactoring and blank-filling.
2017-08-18Some early ideas for Round Table. Nothing close to compile-able yet.Selene ToyKeeper1-0/+68