aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster/fsm-adc.h
diff options
context:
space:
mode:
authorSelene ToyKeeper2017-08-25 02:14:31 -0600
committerSelene ToyKeeper2017-08-25 02:14:31 -0600
commit39b30b41f92978a3e05a8de0a416279fb35b35b1 (patch)
treeab349e516b72389820703e8eb7d4dbf4854875e6 /spaghetti-monster/fsm-adc.h
parentStarted on some documentation, spaghetti-monster.txt. (diff)
downloadanduril-39b30b41f92978a3e05a8de0a416279fb35b35b1.tar.gz
anduril-39b30b41f92978a3e05a8de0a416279fb35b35b1.tar.bz2
anduril-39b30b41f92978a3e05a8de0a416279fb35b35b1.zip
Added battcheck mode to ramping-ui. It's bigger than I had hoped. :(
Added fsm-misc.*, which currently only has interruptible blink functions in it. (for blinking out numbers and such)
Diffstat (limited to 'spaghetti-monster/fsm-adc.h')
-rw-r--r--spaghetti-monster/fsm-adc.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/spaghetti-monster/fsm-adc.h b/spaghetti-monster/fsm-adc.h
index 43d52a6..f1b4477 100644
--- a/spaghetti-monster/fsm-adc.h
+++ b/spaghetti-monster/fsm-adc.h
@@ -36,6 +36,12 @@
#endif
volatile uint8_t voltage;
void low_voltage();
+#ifdef USE_BATTCHECK
+void battcheck();
+#ifdef BATTCHECK_VpT
+#define USE_BLINK_NUM
+#endif
+#endif
#endif