![](/media/cache/group/mbed-logo-square-512_3.png.50x50_q85.png)
Additional RawSerial example
Diff: main.cpp
- Revision:
- 2:4ab47f33a1ae
- Parent:
- 0:3b040f367dd8
- Child:
- 4:3ad999bfc3c4
diff -r 300362127299 -r 4ab47f33a1ae main.cpp --- a/main.cpp Fri Jun 23 15:49:35 2017 -0500 +++ b/main.cpp Wed Jan 10 14:24:47 2018 +0000 @@ -7,7 +7,7 @@ void callback_ex() { // Note: you need to actually read from the serial to clear the RX interrupt - printf("%c\n", pc.getc()); + pc.putc(pc.getc()); led2 = !led2; }