aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster/fsm-standby.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* reorganized project files (part 1)Selene ToyKeeper2023-11-021-68/+0
| | | | | (just moved files, didn't change the contents yet, and nothing will work without updating #includes and build scripts and stuff)
* switched the rest of FSM + Anduril to use SPDX license headersSelene ToyKeeper2023-04-171-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.
* fixed auto-lock timings again, based on measurement averages of several lightsSelene ToyKeeper2020-08-181-6/+6
| | | | | (it turns out they're not very consistent)
* fixed auto-lock timing, this time based on measurements of a D4v2 instead of ↵Selene ToyKeeper2020-08-181-6/+6
| | | | just data sheets and math
* fixed timing of auto-lock function, added SLEEP_TICKS_PER_MINUTE constantsSelene ToyKeeper2020-08-181-0/+13
|
* added auto-lock function, mostly contributed by SammysHPSelene ToyKeeper2020-07-311-4/+17
| | | | | | (5C in lockout mode to configure it, 5H to turn it off, similar to UI for manual memory)
* Changed halfsleep mode to TICK_DURING_STANDBY. Added blinking indicator LED ↵Selene ToyKeeper2018-06-171-3/+20
| | | | support to Anduril.
* Implemented halfsleep mode.Selene ToyKeeper2018-06-171-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".
* Removed unused code from first idle_mode(); experiment.Selene ToyKeeper2017-09-241-2/+1
|
* Added idle_mode() for slightly lower power use without turning off any ↵Selene ToyKeeper2017-09-241-0/+7
| | | | | | | | regular functions. (PWM, ADC, WDT all still enabled; only useful in moon mode) Changed default ceilings in Anduril FW3A config.
* Got the 4th PWM channel to work, ish. (channel 4 is inverted though)Selene ToyKeeper2017-09-031-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.
* Completely reorganized SpaghettiMonster code into smaller logical pieces: ↵Selene ToyKeeper2017-08-191-0/+26
fsm-*.c and fsm-*.h.