6 years, 7 months ago.

How to do non-blocking writes using USBSerial


In the Serial library, there is a function called readable and one called writable. However, in the USBSerial library, there is only a function named available, which is similar to the readable function. How can I check if the interface is writable? I need to do non-blocking writes to the serial interface. Is the function _putc blocking or non-blocking?

Thanks! T.H.

Be the first to answer this question.