Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Just getting LEDs lighting all in green #24

Open
cmora111 opened this issue Jul 31, 2022 · 1 comment
Open

Just getting LEDs lighting all in green #24

cmora111 opened this issue Jul 31, 2022 · 1 comment

Comments

@cmora111
Copy link

I had the clock working fine for months. Then after an update The LEDs light as if it was waiting for NTP. I've put printlns in and found that it is not refreshing properly. The printlns are before and after the show in loop(). but it is only lighting up all LEDs green

I am using an Adafruit Feather Huzzan ESP8266

@cmora111
Copy link
Author

cmora111 commented Aug 5, 2022

Code:
...
if ( night() && USE_NIGHTCUTOFF == true )
FastLED.setBrightness (NIGHTBRIGHTNESS);

Serial.println("Just before FastLED.show"); 
FastLED.show();
Serial.println("Just after FastLED.show");

}
}

byte getLEDHour(byte hours, byte minutes) {
....

20:51:07.705 -> Just after FastLED.show
20:51:08.702 -> 2022 8 4 21 51 8 day of week: 5 summer time: 1 night time: 1
20:51:08.702 -> 192.168.x.x
20:51:08.702 -> Time server IP: 45.33.37.82
20:51:08.702 -> Just before FastLED.show
20:51:08.702 -> Just after FastLED.show
20:51:09.698 -> 2022 8 4 21 51 9 day of week: 5 summer time: 1 night time: 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant