Martin Kojtal
/
Serial_ex_3
fork
Fork of RawSerial_ex_2 by
Diff: main.cpp
- Revision:
- 2:4ab47f33a1ae
- Parent:
- 0:3b040f367dd8
--- 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; }