Skip to content

Commit 5880da2

Browse files
authored
Add Serial.begin for boards that need it (#15)
Some Arduino boards require `Serial.begin` (e.g. the Uno and the Due) whilst others appear to not need it (e.g. the Arduboy).
1 parent 05f8ae0 commit 5880da2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/FixedPointCalculations/FixedPointCalculations.ino

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ void TestSQ7x8(void)
159159

160160
void setup()
161161
{
162+
Serial.begin(9600);
162163
while(!Serial);
163164

164165
TestUQ8x8();

0 commit comments

Comments
 (0)