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.

History

initial version default tip

2016-04-09, by okano [Sat, 09 Apr 2016 08:08:16 +0000] rev 0

initial version