Skip to content

Commit a5a6a1e

Browse files
committed
Moved 'cp.print()'
1 parent 5e542ba commit a5a6a1e

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

examples/reading_from_sd_card/reading_from_sd_card.ino

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,15 @@ void setup() {
5555
} else {
5656
Serial.println("ERROR: At least 1 of the columns was not found, something went wrong.");
5757
}
58+
59+
// output parsed values (allows to check that the file was parsed correctly)
60+
cp.print(); // assumes that "Serial.begin()" was called before (otherwise it won't work)
61+
5862
} else {
5963
Serial.println("ERROR: File called '/file.csv' does not exist...");
6064
}
61-
62-
// output parsed values (allows to check that the file was parsed correctly)
63-
cp.print(); // assumes that "Serial.begin()" was called before (otherwise it won't work)
6465
}
6566

6667
void loop() {
6768

68-
}
69+
}

0 commit comments

Comments
 (0)