aboutsummaryrefslogtreecommitdiff
path: root/ui/momentary/momentary.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-11-02reorganized project files (part 1)Selene ToyKeeper1-0/+0
(just moved files, didn't change the contents yet, and nothing will work without updating #includes and build scripts and stuff)
2020-05-14fixed build of "momentary" example UISelene ToyKeeper1-1/+0
2018-12-18Updated the rest of the FSM interfaces to use the new config file system.Selene ToyKeeper1-1/+1
2018-11-11Updated most of the UIs to use the new event API.Selene ToyKeeper1-1/+1
2017-09-03Got the 4th PWM channel to work, ish. (channel 4 is inverted though)Selene ToyKeeper1-2/+2
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-30Reorganized FSM files, one dir per UI.Selene ToyKeeper1-0/+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