Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
10 years, 8 months ago.
get c without wait
can i do a pc.getc() without it waiting for input
Question relating to:
1 Answer
10 years, 8 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.