We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 997afb9 commit af32943Copy full SHA for af32943
examples/08.Strings/StringCharacters/StringCharacters.ino
@@ -29,7 +29,9 @@ void loop() {
29
30
// the reading's most significant digit is at position 15 in the reportString:
31
char mostSignificantDigit = reportString.charAt(15);
32
- Serial.println("Most significant digit of the sensor reading is: " + mostSignificantDigit);
+
33
+ String message = "Most significant digit of the sensor reading is: ";
34
+ Serial.println(message + mostSignificantDigit);
35
36
// add blank space:
37
Serial.println();
0 commit comments