diff options
| author | Aleksa Vuckovic <aleksa@vuckovic.cc> | 2023-02-10 14:49:06 +0100 |
|---|---|---|
| committer | Aleksa Vuckovic <aleksa@vuckovic.cc> | 2023-02-10 23:55:28 +0100 |
| commit | 30a0aafd0feb6615b17bd226ba82010a6aaeb20b (patch) | |
| tree | a238ad7f86e1ffe961cbf509c173018d7f1c1c76 /config.h | |
| parent | 41df7ff00ffd45283e3f713d267a356044623384 (diff) | |
draw(): drawing all time instead of sleeping
Diffstat (limited to 'config.h')
| -rw-r--r-- | config.h | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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 |
