sample of getting console key

Dependencies:   mbed

Sample code of how to get key hit.
readable() function in Serial class can check buffer has data or not.

This could be equivalent to kbhit() function of DOS/Win environment.

Revisions of main.cpp

Revision Date Message Actions
0:06c67ac20cd3 2016-04-09 initial version File  Diff  Annotate