Skip to content
This repository was archived by the owner on Dec 30, 2024. It is now read-only.

Commit 9de39a0

Browse files
vem882AleksandrCGMAlexeySheykindmitrytroshkov
committed
Update SpedenSpelit.ino
Korjaattiin currectScore Co-Authored-By: AleksandrCGM <[email protected]> Co-Authored-By: AlexeySheykin <[email protected]> Co-Authored-By: Dmitrytroshkov <[email protected]>
1 parent 04dd838 commit 9de39a0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Kooditoteutus/SpedenSpelit/SpedenSpelit.ino

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
// loop() function and interrupt handlers
1111
volatile int buttonNumber = -1; // for buttons interrupt handler
1212
volatile bool newTimerInterrupt = false; // for timer interrupt handler
13+
int currentScore = 0; // Oletusarvo voi olla 0, tai muu alkuarvo
14+
1315

1416
// Peliin liittyvät muuttujat
1517
byte randomLed = 0;

0 commit comments

Comments
 (0)