Skip to content

Commit 8411e34

Browse files
authored
Merge pull request #344 from arduino/SimonePDA-patch-28
Update available.adoc
2 parents 7e31568 + 6627b45 commit 8411e34

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Language/Functions/Communication/Serial/available.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,13 +82,13 @@ void loop() {
8282
// read from port 0, send to port 1:
8383
if (Serial.available()) {
8484
int inByte = Serial.read();
85-
Serial1.print(inByte, BYTE);
85+
Serial1.print(inByte, DEC);
8686
8787
}
8888
// read from port 1, send to port 0:
8989
if (Serial1.available()) {
9090
int inByte = Serial1.read();
91-
Serial.print(inByte, BYTE);
91+
Serial.print(inByte, DEC);
9292
}
9393
}
9494
----

0 commit comments

Comments
 (0)