Skip to content

Commit

Permalink
Show score
Browse files Browse the repository at this point in the history
  • Loading branch information
lmoellendorf committed Mar 17, 2024
1 parent 9eafa0f commit 448fe37
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/me_led_matrix_snake/me_led_matrix_snake.ino
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,8 @@ void loop() {
matrix.drawBitmap(0, 0, MATRIX_WIDTH, bitmap);
crash_counter--;
if (!crash_counter) {
matrix.showNum(snake.len, 0);
delay(3000);
matrix.setColorIndex(true);
resetSnake();
}
Expand Down

0 comments on commit 448fe37

Please sign in to comment.