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