aboutsummaryrefslogtreecommitdiff
path: root/fsm/standby.h (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)
2023-04-17switched the rest of FSM + Anduril to use SPDX license headersSelene ToyKeeper1-21/+4
instead of full GPL headers (or all too often, nothing at all) There are a few "FIXME" entries where I'm not sure about the correct copyright.
2020-08-18fixed auto-lock timings again, based on measurement averages of several lightsSelene ToyKeeper1-6/+6
(it turns out they're not very consistent)
2020-08-18fixed auto-lock timing, this time based on measurements of a D4v2 instead of ↵Selene ToyKeeper1-6/+6
just data sheets and math
2020-08-18fixed timing of auto-lock function, added SLEEP_TICKS_PER_MINUTE constantsSelene ToyKeeper1-0/+13
2020-07-31added auto-lock function, mostly contributed by SammysHPSelene ToyKeeper1-4/+17
(5C in lockout mode to configure it, 5H to turn it off, similar to UI for manual memory)
2018-06-17Changed halfsleep mode to TICK_DURING_STANDBY. Added blinking indicator LED ↵Selene ToyKeeper1-3/+20
support to Anduril.
2018-06-17Implemented halfsleep mode.Selene ToyKeeper1-2/+5
Will probably change it quite a bit though, so I'm checking in changes first. Needs to be "tick during standby" instead of "half sleep".
2017-09-24Removed unused code from first idle_mode(); experiment.Selene ToyKeeper1-2/+1
2017-09-24Added idle_mode() for slightly lower power use without turning off any ↵Selene ToyKeeper1-0/+7
regular functions. (PWM, ADC, WDT all still enabled; only useful in moon mode) Changed default ceilings in Anduril FW3A config.
2017-09-03Got the 4th PWM channel to work, ish. (channel 4 is inverted though)Selene ToyKeeper1-0/+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-19Completely reorganized SpaghettiMonster code into smaller logical pieces: ↵Selene ToyKeeper1-8/+8
fsm-*.c and fsm-*.h.
2017-08-19Renamed from RoundTable to SpaghettiMonster (FSM).Selene ToyKeeper1-1/+1
2017-08-18Some early ideas for Round Table. Nothing close to compile-able yet.Selene ToyKeeper1-15/+9
2017-03-26Fixed a compiler warning about tk-random.h.Selene ToyKeeper1-1/+4
2015-10-12Made pgm_rand() more erratic (beginning of PROGMEM is boring for this purpose),Selene ToyKeeper1-2/+3
made random strobe smaller and better-looking.
2015-10-12Oops, forgot to add tk-random header.Selene ToyKeeper1-0/+28