Skip to content

Commit e09f751

Browse files
committed
Update P1_FingerRace_Stage3.ino
Changed player of which button is read (p1 was read twice).
1 parent bf91f83 commit e09f751

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Examples/Projects/P1_FingerRace/P1_FingerRace_Stage3/P1_FingerRace_Stage3.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ void loop()
6262
digitalWrite(greenLED_P1, LOW);
6363
}
6464

65-
if ( digitalRead(button_P1) == HIGH)
65+
if ( digitalRead(button_P2) == HIGH)
6666
{
6767
gameState = _____;
6868
digitalWrite(greenLED_P2, HIGH);

0 commit comments

Comments
 (0)