diff --git a/wordclock/wordclock.ino b/wordclock/wordclock.ino index c650f3d..9af084b 100644 --- a/wordclock/wordclock.ino +++ b/wordclock/wordclock.ino @@ -22,7 +22,7 @@ #include #include -#define BRIGHTNESS 200 +// #define BRIGHTNESS 200 #define NUM_LEDS 43 #define DATA_PIN 5 @@ -94,6 +94,7 @@ uint8_t color = 0; int lastmin = 100; void printDigits(int digits); void sendNTPpacket(IPAddress &address); +uint8_t BRIGHTNESS = 200; void clear(bool show=true) { @@ -143,7 +144,7 @@ void digitalClockDisplay() void setup() { - FastLED.addLeds(leds, NUM_LEDS); + FastLED.addLeds(leds, NUM_LEDS); clear(); for (int initcount=0; initcount <= NUM_LEDS; initcount++) { clear(); @@ -312,6 +313,7 @@ void getHourWord() Serial.println("sieben"); break; case 8: + BRIGHTNESS = 200; case 20: set_word(H_ACHT); Serial.println("acht"); @@ -323,6 +325,7 @@ void getHourWord() break; case 10: case 22: + BRIGHTNESS = 50; set_word(H_ZEHN); Serial.println("zehn"); break;