#define LED_PIN 2 // Pin the LED strip is connected to // 2 for ESP-01 // 5 for NodeMCU #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 150 #define WIFI_CONN_ANI_TIMEOUT 1000 * 60 // Stop WiFi connection animation after one minute