Skip to content

Commit

Permalink
added random seed to matrix demo
Browse files Browse the repository at this point in the history
  • Loading branch information
tfeldmann committed Dec 20, 2013
1 parent 41170a2 commit 036d4e5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Firmware/Controller.ino
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,10 @@ STATEMACHINE
END_OF_STATE

STATE_ENTER(STATE_MATRIX)
brightness = 1;
brightness = 0;
srand(seconds + minutes + hours);
matrix_clear();
corner_clear();
STATE_LOOP
brightness = 1;
static int wait_move = 0;
Expand Down

0 comments on commit 036d4e5

Please sign in to comment.