aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster/fsm-misc.h
diff options
context:
space:
mode:
authorSelene ToyKeeper2019-08-05 01:44:30 -0600
committerSelene ToyKeeper2019-08-05 01:44:30 -0600
commit24f290888e4132e8f67989de3fa42f492dc5bb8b (patch)
treef82fd0f22b3a979c1a63e1dcb21ee253cc67335b /spaghetti-monster/fsm-misc.h
parentreplaced deprecated avr-size with avr-objdump in build.sh (diff)
parentmerged a sanitized copy of the Emisar D4v2 branch; history summarized below: (diff)
downloadanduril-24f290888e4132e8f67989de3fa42f492dc5bb8b.tar.gz
anduril-24f290888e4132e8f67989de3fa42f492dc5bb8b.tar.bz2
anduril-24f290888e4132e8f67989de3fa42f492dc5bb8b.zip
merged Emisar D4v2 branch, or at least a sanitized version of it
Diffstat (limited to 'spaghetti-monster/fsm-misc.h')
-rw-r--r--spaghetti-monster/fsm-misc.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/spaghetti-monster/fsm-misc.h b/spaghetti-monster/fsm-misc.h
index 1381ca2..a39d31a 100644
--- a/spaghetti-monster/fsm-misc.h
+++ b/spaghetti-monster/fsm-misc.h
@@ -43,9 +43,16 @@ uint8_t blink(uint8_t num, uint8_t speed);
*/
#ifdef USE_INDICATOR_LED
+// lvl: 0=off, 1=low, 2=high
void indicator_led(uint8_t lvl);
#endif
+#ifdef USE_AUX_RGB_LEDS
+// value: 0b00BBGGRR
+// each pair of bits: 0=off, 1=low, 2=high
+void rgb_led_set(uint8_t value);
+#endif
+
#ifdef USE_TRIANGLE_WAVE
uint8_t triangle_wave(uint8_t phase);
#endif