Only for F446RE & L432KC. Use CircularBuffer.Change Callback method.

Dependencies:   SoftSerial

Dependents:   Test_SoftSerial_for_L432KC Test_SoftSerial

Revision:
12:7ab9ab7210e7
Parent:
11:f186cc69acdf
--- a/BufferedSoftSerial.h	Sun May 10 08:10:29 2020 +0000
+++ b/BufferedSoftSerial.h	Tue May 12 05:28:37 2020 +0000
@@ -26,7 +26,7 @@
     Original Library by Erik-
     https://os.mbed.com/users/Sissors/code/BufferedSoftSerial/
 
-    Modified by K.Arai / JH1PJL     May 9th, 2020
+    Modified by K.Arai / JH1PJL     May 12th, 2020
 
     modified parts
         use CircularBuffer (mbed standard library)
@@ -90,8 +90,8 @@
 class BufferedSoftSerial : public SoftSerial
 {
 private:
-    CircularBuffer<char, 1024> _rxbuf;
-    CircularBuffer<char, 1024> _txbuf;
+    CircularBuffer<char, 256> _rxbuf;
+    CircularBuffer<char, 256> _txbuf;
 
     void rx_Irq(void);
     void tx_Irq(void);