Skip to content

Commit

Permalink
Merge branch 'master' into arduino-esp32
Browse files Browse the repository at this point in the history
  • Loading branch information
wurongmin authored Oct 28, 2024
2 parents e2b007a + 74e4a74 commit 2e25d8b
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,11 @@ void onReceiveFunction() {
received_bytes = received_bytes + available;
Serial.printf("onReceive Callback:: There are %d bytes available: {", available);
while (available--) {
Serial.print((char)Serial1.read());
char c = Serial1.read();
Serial.printf("0x%x='%c'", c, c);
if (available) {
Serial.print(" ");
}
}
Serial.println("}");
}
Expand Down

0 comments on commit 2e25d8b

Please sign in to comment.