From 30a0aafd0feb6615b17bd226ba82010a6aaeb20b Mon Sep 17 00:00:00 2001 From: Aleksa Vuckovic Date: Fri, 10 Feb 2023 14:49:06 +0100 Subject: draw(): drawing all time instead of sleeping --- config.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'config.h') 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 + // 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 -- cgit v1.2.3