Skip to content

Commit 4ef0f2e

Browse files
committed
Modified reference to Leonardo only in the examples
According to #3786 removed the reference to Leonardo only in while(!Serial) of the examples. Changed in in "wait for serial port to connect. Needed for native USB port only"
1 parent a2e80ee commit 4ef0f2e

File tree

10 files changed

+10
-10
lines changed

10 files changed

+10
-10
lines changed

examples/ConnectNoEncryption/ConnectNoEncryption.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ void setup() {
2222
//Initialize serial and wait for port to open:
2323
Serial.begin(9600);
2424
while (!Serial) {
25-
; // wait for serial port to connect. Needed for Leonardo only
25+
; // wait for serial port to connect. Needed for native USB port only
2626
}
2727

2828
// check for the presence of the shield:

examples/ConnectWithWEP/ConnectWithWEP.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ void setup() {
3434
//Initialize serial and wait for port to open:
3535
Serial.begin(9600);
3636
while (!Serial) {
37-
; // wait for serial port to connect. Needed for Leonardo only
37+
; // wait for serial port to connect. Needed for native USB port only
3838
}
3939

4040
// check for the presence of the shield:

examples/ConnectWithWPA/ConnectWithWPA.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ void setup() {
2323
//Initialize serial and wait for port to open:
2424
Serial.begin(9600);
2525
while (!Serial) {
26-
; // wait for serial port to connect. Needed for Leonardo only
26+
; // wait for serial port to connect. Needed for native USB port only
2727
}
2828

2929
// check for the presence of the shield:

examples/ScanNetworks/ScanNetworks.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ void setup() {
2222
//Initialize serial and wait for port to open:
2323
Serial.begin(9600);
2424
while (!Serial) {
25-
; // wait for serial port to connect. Needed for Leonardo only
25+
; // wait for serial port to connect. Needed for native USB port only
2626
}
2727

2828
// check for the presence of the shield:

examples/WiFiChatServer/WiFiChatServer.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ void setup() {
3737
//Initialize serial and wait for port to open:
3838
Serial.begin(9600);
3939
while (!Serial) {
40-
; // wait for serial port to connect. Needed for Leonardo only
40+
; // wait for serial port to connect. Needed for native USB port only
4141
}
4242

4343
// check for the presence of the shield:

examples/WiFiUdpNtpClient/WiFiUdpNtpClient.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ void setup() {
4040
// Open serial communications and wait for port to open:
4141
Serial.begin(9600);
4242
while (!Serial) {
43-
; // wait for serial port to connect. Needed for Leonardo only
43+
; // wait for serial port to connect. Needed for native USB port only
4444
}
4545

4646
// check for the presence of the shield:

examples/WiFiUdpSendReceiveString/WiFiUdpSendReceiveString.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ void setup() {
3434
//Initialize serial and wait for port to open:
3535
Serial.begin(9600);
3636
while (!Serial) {
37-
; // wait for serial port to connect. Needed for Leonardo only
37+
; // wait for serial port to connect. Needed for native USB port only
3838
}
3939

4040
// check for the presence of the shield:

examples/WiFiWebClient/WiFiWebClient.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ void setup() {
4343
//Initialize serial and wait for port to open:
4444
Serial.begin(9600);
4545
while (!Serial) {
46-
; // wait for serial port to connect. Needed for Leonardo only
46+
; // wait for serial port to connect. Needed for native USB port only
4747
}
4848

4949
// check for the presence of the shield:

examples/WiFiWebClientRepeating/WiFiWebClientRepeating.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ void setup() {
4040
//Initialize serial and wait for port to open:
4141
Serial.begin(9600);
4242
while (!Serial) {
43-
; // wait for serial port to connect. Needed for Leonardo only
43+
; // wait for serial port to connect. Needed for native USB port only
4444
}
4545

4646
// check for the presence of the shield:

examples/WiFiWebServer/WiFiWebServer.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ void setup() {
3434
//Initialize serial and wait for port to open:
3535
Serial.begin(9600);
3636
while (!Serial) {
37-
; // wait for serial port to connect. Needed for Leonardo only
37+
; // wait for serial port to connect. Needed for native USB port only
3838
}
3939

4040
// check for the presence of the shield:

0 commit comments

Comments
 (0)