summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorAleksa Vuckovic <aleksa@vuckovic.cc>2023-02-10 14:49:06 +0100
committerAleksa Vuckovic <aleksa@vuckovic.cc>2023-02-10 23:55:28 +0100
commit30a0aafd0feb6615b17bd226ba82010a6aaeb20b (patch)
treea238ad7f86e1ffe961cbf509c173018d7f1c1c76 /config.h
parent41df7ff00ffd45283e3f713d267a356044623384 (diff)
draw(): drawing all time instead of sleeping
Diffstat (limited to 'config.h')
-rw-r--r--config.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/config.h b/config.h
index 53d409b..fe639e9 100644
--- a/config.h
+++ b/config.h
@@ -1,7 +1,13 @@
+#ifndef CONFIG_H
+#define CONFIG_H
+
+#include <stdint.h>
+
// define the pins used controlling 74HC595
#define DATA_PIN 2
#define CLOCK_PIN 3
#define LATCH_PIN 4
+#define LED_PIN 25
// define the order of 74HC595 chain
#define CHIP_0 0
@@ -13,3 +19,7 @@
#define CHIP_6 6
#define CHIP_7 4
#define CHIP_8 2
+
+extern uint8_t map[9];
+
+#endif