Asynchronous (Non-blocking) Serial Communication library with variable length software ring buffer (FIFO). You can use RawSerial Library's primary method. Operability confirmed on mbed 2.0.

Dependencies:   FIFO

Dependents:   Brute_TS_Controller_2018_11

Revision:
6:08e3b1bba0ac
Parent:
5:a50cdaa90d6a
Child:
8:7390f9bb28d3
--- a/AsyncSerial.cpp	Thu Mar 30 13:13:01 2017 +0000
+++ b/AsyncSerial.cpp	Thu Mar 30 13:50:53 2017 +0000
@@ -105,7 +105,8 @@
 	if( status == 0 ){
 		return 0;
 	}
-
+	
+	AsyncSerial::putc('\r');
 	AsyncSerial::putc('\n');
 	return 1;
 }