mirror of
https://github.com/arduino/Arduino.git
synced 2024-12-01 12:24:14 +01:00
Corrected formatting errors in String examples
This commit is contained in:
parent
c6a73fa803
commit
691e9cab36
@ -24,7 +24,7 @@ void setup() {
|
||||
void loop() {
|
||||
// adding a constant integer to a string:
|
||||
stringThree = stringOne + 123;
|
||||
Serial.println(stringThree); // prints "You added 123"
|
||||
Serial.println(stringThree); // prints "stringThree = 123"
|
||||
|
||||
// adding a constant long interger to a string:
|
||||
stringThree = stringOne + 123456789;
|
||||
|
Loading…
Reference in New Issue
Block a user