summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
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