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.

Committer:
okano
Date:
Sat Apr 09 08:08:16 2016 +0000
Revision:
0:06c67ac20cd3
initial version

Who changed what in which revision?

UserRevisionLine numberNew contents of line
okano 0:06c67ac20cd3 1 http://mbed.org/users/mbed_official/code/mbed/builds/99a22ba036c9