mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-30 16:24:09 +03:00
Corrected formatting errors in String examples
This commit is contained in:
@ -24,7 +24,7 @@ void setup() {
|
|||||||
void loop() {
|
void loop() {
|
||||||
// adding a constant integer to a string:
|
// adding a constant integer to a string:
|
||||||
stringThree = stringOne + 123;
|
stringThree = stringOne + 123;
|
||||||
Serial.println(stringThree); // prints "You added 123"
|
Serial.println(stringThree); // prints "stringThree = 123"
|
||||||
|
|
||||||
// adding a constant long interger to a string:
|
// adding a constant long interger to a string:
|
||||||
stringThree = stringOne + 123456789;
|
stringThree = stringOne + 123456789;
|
||||||
|
Reference in New Issue
Block a user