Skip to content

Commit 4af50d8

Browse files
committed
Merge pull request #1 from arduino/master
pull master
2 parents bb386d0 + a5d3c8d commit 4af50d8

File tree

41 files changed

+36
-255
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+36
-255
lines changed

examples/01.Basics/AnalogReadSerial/AnalogReadSerial.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
AnalogReadSerial
33
Reads an analog input on pin 0, prints the result to the serial monitor.
4-
Graphical representation of readings available using serial plotter (Tools > Serial Plotter menu)
4+
Graphical representation is available using serial plotter (Tools > Serial Plotter menu)
55
Attach the center pin of a potentiometer to pin A0, and the outside pins to +5V and ground.
66
77
This example code is in the public domain.

examples/01.Basics/ReadAnalogVoltage/ReadAnalogVoltage.ino

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
/*
22
ReadAnalogVoltage
33
Reads an analog input on pin 0, converts it to voltage, and prints the result to the serial monitor.
4+
Graphical representation is available using serial plotter (Tools > Serial Plotter menu)
45
Attach the center pin of a potentiometer to pin A0, and the outside pins to +5V and ground.
56
6-
This example code is in the public domain.
7-
*/
7+
This example code is in the public domain.
8+
*/
89

910
// the setup routine runs once when you press reset:
1011
void setup() {

examples/04.Communication/ASCIITable/ASCIITable.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
// prints title with ending line break

examples/04.Communication/SerialCallResponse/SerialCallResponse.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ void setup() {
3333
// start serial port at 9600 bps:
3434
Serial.begin(9600);
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
pinMode(2, INPUT); // digital sensor is on digital pin 2

examples/04.Communication/SerialCallResponseASCII/SerialCallResponseASCII.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ void setup() {
3737
// start serial port at 9600 bps 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

examples/08.Strings/CharacterAnalysis/CharacterAnalysis.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ void setup() {
1515
// Open serial communications and wait for port to open:
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
// send an intro:

examples/08.Strings/StringAdditionOperator/StringAdditionOperator.ino

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

2626
stringOne = String("stringThree = ");

examples/08.Strings/StringAppendOperator/StringAppendOperator.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ void setup() {
1818
// Open serial communications and wait for port to open:
1919
Serial.begin(9600);
2020
while (!Serial) {
21-
; // wait for serial port to connect. Needed for Leonardo only
21+
; // wait for serial port to connect. Needed for native USB port only
2222
}
2323

2424
stringOne = String("Sensor ");

examples/08.Strings/StringCaseChanges/StringCaseChanges.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ void setup() {
1616
// Open serial communications 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
// send an intro:

examples/08.Strings/StringCharacters/StringCharacters.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ void setup() {
1616
// Open serial communications 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
Serial.println("\n\nString charAt() and setCharAt():");

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy