Skip to content

Instantly share code, notes, and snippets.

@lectroidmarc
Created September 4, 2014 17:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lectroidmarc/4cb1ff26c93884c94115 to your computer and use it in GitHub Desktop.
Save lectroidmarc/4cb1ff26c93884c94115 to your computer and use it in GitHub Desktop.
Arduino 256 byte Software Serial buffer.
--- libraries/SoftwareSerial/SoftwareSerial.h.orig 2014-09-04 08:52:10.000000000 -0700
+++ libraries/SoftwareSerial/SoftwareSerial.h 2014-09-04 08:52:59.000000000 -0700
@@ -39,7 +39,7 @@
* Definitions
******************************************************************************/
-#define _SS_MAX_RX_BUFF 64 // RX buffer size
+#define _SS_MAX_RX_BUFF 256 // RX buffer size
#ifndef GCC_VERSION
#define GCC_VERSION (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__)
#endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment