diff options
Diffstat (limited to 'include/header.h')
| -rw-r--r-- | include/header.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/header.h b/include/header.h new file mode 100644 index 0000000..18d92a4 --- /dev/null +++ b/include/header.h @@ -0,0 +1,11 @@ +#define LED_PIN 2 // Pin the LED strip is connected to +#define PHOTORESISTOR_PIN 3 // Used for dimming the LEDs based on light level +#define SEGMENT_COUNT 7 // 7 segment display +#define DIGIT_COUNT 4 // Number of digits 4 for a clock +#define START_OFFSET 1 // First segment flickers, voltage level shifter? +#define LED_COUNT (DIGIT_COUNT * SEGMENT_COUNT) + START_OFFSET +#define LED_TYPE WS2811 +#define COLOR_ORDER GRB +#define SATURATION 255 +#define WIFI_CONN_ANI_TIMEOUT 1000 * 60 // Stop WiFi connection animation after one minute + |
