diff options
| author | Selene ToyKeeper | 2017-08-24 16:21:45 -0600 |
|---|---|---|
| committer | Selene ToyKeeper | 2017-08-24 16:21:45 -0600 |
| commit | 32eaeddee34c76dda5456ed960be6278ed68e48d (patch) | |
| tree | 44cbbcfb3e1b47c777eacd1a707bba653bb4b49e /spaghetti-monster/spaghetti-monster.h | |
| parent | Fixed repeating blinks at ends of ramp -- only blinks once now. (diff) | |
| download | anduril-32eaeddee34c76dda5456ed960be6278ed68e48d.tar.gz anduril-32eaeddee34c76dda5456ed960be6278ed68e48d.tar.bz2 anduril-32eaeddee34c76dda5456ed960be6278ed68e48d.zip | |
Added loop() to API, executes constantly.
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.
Diffstat (limited to 'spaghetti-monster/spaghetti-monster.h')
| -rw-r--r-- | spaghetti-monster/spaghetti-monster.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/spaghetti-monster/spaghetti-monster.h b/spaghetti-monster/spaghetti-monster.h index 2ba3208..7d26390 100644 --- a/spaghetti-monster/spaghetti-monster.h +++ b/spaghetti-monster/spaghetti-monster.h @@ -54,9 +54,11 @@ void debug_blink(uint8_t num) { // TODO? new delay() functions which handle queue consumption? // TODO? new interruptible delay() functions? +// Define these in your SpaghettiMonster recipe // boot-time tasks -// Define this in your SpaghettiMonster recipe void setup(); +// single loop iteration, runs continuously +void loop(); // include executable functions too, for easier compiling #include "fsm-states.c" |
