1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-16 11:21:18 +03:00

Added Serial port check to all examples using Serial statements in the setup

This commit is contained in:
Tom Igoe
2012-04-02 09:07:58 -04:00
parent e9a00eb38f
commit a631e4f834
32 changed files with 132 additions and 40 deletions

View File

@ -3,8 +3,9 @@
Examples of how to use substring in a String
created 27 July 2010, modified 1 April 2012
by Tom Igoe
created 27 July 2010,
modified 2 Apr 2012
by Zach Eveland
http://arduino.cc/en/Tutorial/StringSubstring
@ -14,8 +15,8 @@
void setup() {
Serial.begin(9600);
// Wait for port to be opened:
while (!Serial)
;
while (!Serial) ;
Serial.println("\n\nString substring():");
}
@ -35,4 +36,4 @@ void loop() {
// do nothing while true:
while(true);
}
}