9 years, 5 months ago.

get c without wait

can i do a pc.getc() without it waiting for input

Question relating to:

1 Answer

9 years, 5 months ago.

Certainly, have a look at https://developer.mbed.org/handbook/Serial, there is an API member function called readable().
The serial pass-through example on this page demonstrates how to use it.

Accepted Answer