#include "effect_clock.h" #include #include "functions.h" #include "text.h" #include "ntp.h" void ClockEffect::loop() { loop(false, CRGB(0xFFFFFF), CRGB(0x000000)); } void ClockEffect::loop(boolean invert, CRGB fg_color, CRGB bg_color) { if (!invert) { clear(window, bg_color); } else { // Manually clear the needed parts for(int i=0; i