Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: Test_SoftSerial_for_L432KC Test_SoftSerial
Revision 12:7ab9ab7210e7, committed 2020-05-12
- Comitter:
- kenjiArai
- Date:
- Tue May 12 05:28:37 2020 +0000
- Parent:
- 11:f186cc69acdf
- Commit message:
- change buffer size
Changed in this revision
--- a/BufferedSoftSerial.cpp Sun May 10 08:10:29 2020 +0000 +++ b/BufferedSoftSerial.cpp Tue May 12 05:28:37 2020 +0000 @@ -21,7 +21,7 @@ * limitations under the License. */ -// Modified by K.Arai / JH1PJL May 10th, 2020 +// Modified by K.Arai / JH1PJL May 12th, 2020 #include "BufferedSoftSerial.h" #include <stdarg.h>
--- 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);
--- a/SoftSerial.lib Sun May 10 08:10:29 2020 +0000 +++ b/SoftSerial.lib Tue May 12 05:28:37 2020 +0000 @@ -1,1 +1,1 @@ -https://os.mbed.com/users/kenjiArai/code/SoftSerial/#cd58d03b8559 +https://os.mbed.com/users/kenjiArai/code/SoftSerial/#6399b30798a5