UART1 buffered serial driver, requires RTOS

Dependents:   Serial_interrupts_buffered HARP2 HARP3

Buffered serial UART1 - Setup to work with UART1 (p13,p14)

Uses RTOS to block current thread.

Reference: http://mbed.org/users/tylerjw/notebook/buffered-serial-with-rtos/

Revision:
3:a4a21e18acd1
Parent:
0:707b9f3904dd
Child:
4:d3122119f92b
--- a/buffered_serial.h	Tue Dec 11 00:12:45 2012 +0000
+++ b/buffered_serial.h	Thu Dec 13 06:53:43 2012 +0000
@@ -44,8 +44,8 @@
     char tx_line[LINE_SIZE];
     char rx_line[LINE_SIZE];
 
-    DigitalOut led1;
-    DigitalOut led2;
+    //DigitalOut led1; // debug
+    //DigitalOut led2;
     
     Semaphore rx_sem;
     Semaphore tx_sem;