hi
i need increase serial rx buffer 64 128
i tried change in hardwareserial.h , works fine.
but change projects , dont want.
so tried change size in .ino project defining
it in top.
#define serial_rx_buffer_size 128
it compiles fine dont increase buffer size.
would appreciate guidance.
/peter
i need increase serial rx buffer 64 128
i tried change in hardwareserial.h , works fine.
but change projects , dont want.
so tried change size in .ino project defining
it in top.
#define serial_rx_buffer_size 128
it compiles fine dont increase buffer size.
would appreciate guidance.
/peter
don't know if work if wrapped definitions in #if!def if serial_buffer_size defined use else default.
code: [select]
#if !defined(serial_buffer_size)
#if (ramend < 1000)
#define serial_buffer_size 16
#else
#define serial_buffer_size 64
#endif
#endif
Arduino Forum > Using Arduino > Networking, Protocols, and Devices (Moderator: fabioc84) > Serial Buffer Size
arduino
Comments
Post a Comment