mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-07-29 02:07:32 +02:00
Examples: Added a loop to wait for serial port to be ready (issue #156)
This commit is contained in:
@ -8,7 +8,9 @@
|
||||
|
||||
void setup() {
|
||||
Serial.begin(9600);
|
||||
// delay(1000); <--needed for some boards (like Teensy)
|
||||
while (!Serial) {
|
||||
// wait serial port initialization
|
||||
}
|
||||
|
||||
StaticJsonBuffer<200> jsonBuffer;
|
||||
|
||||
|
Reference in New Issue
Block a user