Skip to content

Commit f8498ac

Browse files
committed
Update FORCE_RandomOut.ino
1 parent 3ca2226 commit f8498ac

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

examples/FORCE_RandomOut/FORCE_RandomOut.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ void loop() {
3434
//Choose a random number
3535
randomSeed(millis()); //get a new randomSeed here so the sequence isn't the same every time
3636
int randnum = random(1, 4); //Pick a random number between 1 and 3
37-
Serial.print("Random Num: "); //Print the random number
37+
Serial.print("Random Num: "); //Print the random number to the Serial Monitor
3838
Serial.println(randnum);
3939

40-
force.presses++; //keep count of successful presses
40+
force.presses++; //add 1 to force.presses
4141
force.Dispense(); //dispense reward
4242

4343
if (randnum == 3) { //if random number is 3...

0 commit comments

Comments
 (0)