set Rx Buffer Size
Sets the length of the serial reception buffer in bytes.
serial.setRxBufferSize(10)
Parameters
- size: desired length of the reception buffer (maximum 254)
Example
Allocates 64 bytes for the reception buffer.
serial.setRxBufferSize(64)