Skip to content

Commit d775df4

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 987b9bf commit d775df4

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

libraries/EEPROM/examples/eeprom_crc/eeprom_crc.ino

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ void setup() {
1515
//Start serial
1616
Serial.begin(9600);
1717
while (!Serial) {
18-
; // wait for serial port to connect. Needed for Leonardo only
18+
; // wait for serial port to connect. Needed for native USB port only
1919
}
2020

2121
//Print length of data to run CRC on.
@@ -49,4 +49,4 @@ unsigned long eeprom_crc(void) {
4949
crc = ~crc;
5050
}
5151
return crc;
52-
}
52+
}

libraries/EEPROM/examples/eeprom_get/eeprom_get.ino

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ void setup() {
2424

2525
Serial.begin(9600);
2626
while (!Serial) {
27-
; // wait for serial port to connect. Needed for Leonardo only
27+
; // wait for serial port to connect. Needed for native USB port only
2828
}
2929
Serial.print("Read float from EEPROM: ");
3030

@@ -65,4 +65,4 @@ void secondTest() {
6565

6666
void loop() {
6767
/* Empty loop */
68-
}
68+
}

libraries/EEPROM/examples/eeprom_put/eeprom_put.ino

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ void setup() {
2626

2727
Serial.begin(9600);
2828
while (!Serial) {
29-
; // wait for serial port to connect. Needed for Leonardo only
29+
; // wait for serial port to connect. Needed for native USB port only
3030
}
3131

3232
float f = 123.456f; //Variable to store in EEPROM.
@@ -55,4 +55,4 @@ void setup() {
5555

5656
void loop() {
5757
/* Empty loop */
58-
}
58+
}

libraries/EEPROM/examples/eeprom_read/eeprom_read.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ void setup() {
1616
// initialize serial and wait for port to open:
1717
Serial.begin(9600);
1818
while (!Serial) {
19-
; // wait for serial port to connect. Needed for Leonardo only
19+
; // wait for serial port to connect. Needed for native USB port only
2020
}
2121
}
2222

libraries/SoftwareSerial/examples/SoftwareSerialExample/SoftwareSerialExample.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ void setup() {
3333
// Open serial communications and wait for port to open:
3434
Serial.begin(57600);
3535
while (!Serial) {
36-
; // wait for serial port to connect. Needed for Leonardo only
36+
; // wait for serial port to connect. Needed for native USB port only
3737
}
3838

3939

libraries/SoftwareSerial/examples/TwoPortReceive/TwoPortReceive.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ void setup() {
4646
// Open serial communications and wait for port to open:
4747
Serial.begin(9600);
4848
while (!Serial) {
49-
; // wait for serial port to connect. Needed for Leonardo only
49+
; // wait for serial port to connect. Needed for native USB port only
5050
}
5151

5252

0 commit comments

Comments
 (0)