Test program for serial interface

This program turns the red LED on and then waits for a character to be entered at the terminal. The LED then goes off for 500ms before the cycle repeats.

The purpose of the program is to demonstrate the use of the serial link

Revision:
3:5b27b27e68ab
Parent:
2:e92d97ac59e4
Child:
4:a2d1329d042c
--- a/main.cpp	Sat Jan 13 18:34:58 2018 +0000
+++ b/main.cpp	Wed Jan 09 22:22:22 2019 +0000
@@ -15,7 +15,7 @@
         pc.putc(c);
         pc.putc('\r');
         pc.putc('\n');
-        Thread::wait(500);
+        wait(0.5);
         pc.printf("Enter a character>");
     }
 }