Skip to content

Commit 10e6e39

Browse files
fix: disable dynamic color shift while drawing the static background pattern
1 parent d318373 commit 10e6e39

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

wordclock_esp8266.ino

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1174,6 +1174,7 @@ void showStaticBackgroundPattern(){
11741174
uint8_t coordinatesY[] = {3, 3, 3, 3, 3, 3, 3, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5};
11751175
uint32_t color = LEDMatrix::Color24bit(255, 0, 0);
11761176

1177+
ledmatrix.setDynamicColorShiftPhase(-1);
11771178
for (uint8_t i = 0; i < sizeof(coordinatesX); i++) {
11781179
ledmatrix.gridAddPixel(coordinatesX[i], coordinatesY[i], color);
11791180
}

0 commit comments

Comments
 (0)