MODSERIAL with support for KL25Z + RTOS (beta, putc + puts currently)
Fork of MODSERIAL by
Diff: example1.cpp
- Revision:
- 30:913b04338760
- Parent:
- 28:76793a84f9e5
--- a/example1.cpp Fri Jul 12 15:56:20 2013 +0000 +++ b/example1.cpp Tue Jul 16 14:00:58 2013 +0000 @@ -41,11 +41,12 @@ void txEmpty(MODSERIAL_IRQ_INFO *q) { led2 = 0; pc.puts(" Done. "); -} + } // This function is called when a character goes into the RX buffer. void rxCallback(MODSERIAL_IRQ_INFO *q) { led3 = !led3; + //pc.putc('A'); pc.putc(uart.getc()); }