elementary serial print using the external IO breakout board and PL2303

Dependencies:   microbit

Revision:
4:c0f36c59d853
Parent:
3:293ded9e6c1d
Child:
5:71c91969b507
--- a/main.cpp	Sat Oct 19 15:40:39 2019 +1100
+++ b/main.cpp	Sat Oct 19 07:20:10 2019 +0000
@@ -31,6 +31,7 @@
 
 int main()
 {
+    Serial pc(USBTX, USBRX);
     // Initialise the micro:bit runtime.
     uBit.init();
     for ( int x = 2; x < 14; x++) {
@@ -39,7 +40,7 @@
     pc.printf("Hello World on a %c Friday\n\r", '%' );
 
     }
-    uBit.display.scroll("HELLO WORLD! 1:)");
+    uBit.display.scroll("HELLO WORLD! 2:)");
 
     // If main exits, there may still be other fibers running or registered event handlers etc.
     // Simply release this fiber, which will mean we enter the scheduler. Worse case, we then