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

Dependencies:   FIFO

Dependents:   InvertedPendulum2017 SerialConnect mbed_2018 mbed_2019_rx3 ... more

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;
 }