Skip to content

Commit 225dc19

Browse files
alraneldelta-G
authored andcommitted
Add example about matrix.clear()
1 parent ffd19c0 commit 225dc19

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

libraries/Arduino_LED_Matrix/examples/DisplaySingleFrame/DisplaySingleFrame.ino

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ void loop() {
3434
matrix.loadFrame(LEDMATRIX_HEART_BIG);
3535
delay(500);
3636

37+
// Turn off the display
38+
matrix.clear();
39+
delay(1000);
40+
3741
// Print the current value of millis() to the serial monitor
3842
Serial.println(millis());
3943
}

0 commit comments

Comments
 (0)