![]() ![]() This method returns the number of free bytes of TX FIFO Read one byte of data from the receive buffer (1) int HardwareSerial::peek(void) ![]() Returns the writable length of the send buffer int HardwareSerial::availableForWrite(void) ĮSP32 has 128 bytes of hardware TX FIFO by default. Set the receiving cache size (256 bytes by default) ĮSP32 has 128 byte hardware RX FIFO by default, which will be transferred to the above receiving cache after RX FIFO receives data Returns the received cache data length int HardwareSerial::available(void) ![]() Set receive buffer size size_t HardwareSerial::setRxBufferSize(size_t new_size) If the baud rate is not obtained after this time, the serial port will not be enabled Ĭlose the serial port void HardwareSerial::end() ĭisable serial port to release resources Reset baud rate void updateBaudRate(unsigned long baud)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |