8 years, 1 month ago.

More options for writing

Could it be possible to have the option to write that will block if buffer is full ? Or probably better, leave the responsibility of blocking to the user and make the writeable function return the amount of available space in TX buffer ?

I can do it myself, but there are already so many forks and librairies for serial port that it would just add to the confusion

Thanks

Question relating to:

Inherit from Serial and use software buffers for TX and RX. This allows the UART peripherals to operate in a IRQ driven mode. Overrides most (but not all) stdio functions … buffer, BufferedSerial, BufferSerial, Serial
Be the first to answer this question.