diff options
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 |
