aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster/fsm-standby.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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.