Reset puzzle 3 on reset
This commit is contained in:
@@ -217,6 +217,7 @@ void generateTargetGameBoard()
|
||||
{
|
||||
slavePotiValues[i] = 0;
|
||||
}
|
||||
digitalWrite(COMPLETED_PIN, LOW);
|
||||
strip.begin();
|
||||
strip.clear();
|
||||
GameBoard board;
|
||||
@@ -347,7 +348,7 @@ void loop()
|
||||
|
||||
if (finishedLeft && finishedMiddle && finishedRight)
|
||||
{
|
||||
digitalWrite(3, HIGH);
|
||||
digitalWrite(COMPLETED_PIN, HIGH);
|
||||
}
|
||||
strip.show();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user