We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db49ea6 commit f8361b8Copy full SHA for f8361b8
Arduino_Code/Arduino_Code.ino
@@ -34,7 +34,7 @@ for default settings use -O0. -O may be a good tradeoff between both */
34
/* For 8-bit microcontrollers we should use 16 bit variables since the
35
difficulty is low, for all the other cases should be 32 bits. */
36
#if defined(ARDUINO_ARCH_AVR) || defined(ARDUINO_ARCH_MEGAAVR)
37
-typedef uint32_t uintDiff;
+typedef uint16_t uintDiff;
38
#else
39
typedef uint32_t uintDiff;
40
#endif
@@ -48,7 +48,7 @@ typedef uint32_t uintDiff;
48
49
bool digitDrawn = false;
50
bool matrixEnabled = true;
51
-int minedDigitCount = 0;
+byte minedDigitCount = 0;
52
53
Adafruit_Microbit_Matrix microbit;
54
0 commit comments