Serial Interrupt Library with mbed RTOS for multi-threading

Dependencies:   buffered-serial1 mbed-rtos mbed

Fork of Serial_interrupts by jim hamblen

Revision:
10:e489f1ee71d8
Parent:
8:df59d668cab1
--- a/main.cpp	Mon Dec 10 23:43:45 2012 +0000
+++ b/main.cpp	Tue Dec 11 04:21:06 2012 +0000
@@ -1,10 +1,12 @@
 #include "mbed.h"
 #include "buffered_serial.h"
 #include "rtos.h"
+// Setup: connect p13 and p14 together to create a serial loopback
 // Sends out ASCII numbers in a loop and reads them back
 // If not the same number LED4 goes on
 // LED1 and LED2 indicate RX and TX interrupt routine activity
 // LED3 changing indicate main loop running
+// if the program is working correctly you should see LED 1, 2, & 3 dimly lit and LED 4 off
 
 BufferedSerial device(p13,p14);  // UART1 - p13, p14