aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster/fsm-misc.h
diff options
context:
space:
mode:
Diffstat (limited to 'spaghetti-monster/fsm-misc.h')
-rw-r--r--spaghetti-monster/fsm-misc.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/spaghetti-monster/fsm-misc.h b/spaghetti-monster/fsm-misc.h
index 7533849..58667a1 100644
--- a/spaghetti-monster/fsm-misc.h
+++ b/spaghetti-monster/fsm-misc.h
@@ -20,16 +20,22 @@
#ifndef FSM_MISC_H
#define FSM_MISC_H
-#ifdef USE_BLINK_NUM
-#define USE_BLINK
+#if defined(USE_BLINK_NUM) || defined(USE_BLINK_DIGIT)
#ifndef BLINK_BRIGHTNESS
#define BLINK_BRIGHTNESS (MAX_LEVEL/6)
#endif
+uint8_t blink_digit(uint8_t num);
+#endif
+
+#ifdef USE_BLINK_NUM
+//#define USE_BLINK
uint8_t blink_num(uint8_t num);
#endif
+/*
#ifdef USE_BLINK
uint8_t blink(uint8_t num, uint8_t speed);
#endif
+*/
#endif