Skip to content

Commit ad35d9c

Browse files
committed
serial2 logging
1 parent 0694e49 commit ad35d9c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

examples/serial2/serial2.ino

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ void setup() {
77
}
88

99
void loop() {
10-
auto txt = "Hallo world from Serial2";
11-
Serial.println(txt);
12-
Serial2.println(txt);
10+
Serial.println("Hallo world from Serial");
11+
Serial2.println("Hallo world from Serial2");
1312
delay(1000); // Wait for 1 second
1413
}

0 commit comments

Comments
 (0)