elementary serial print using the external IO breakout board and PL2303

Dependencies:   microbit

Revision:
6:bc8d140ac7bb
Parent:
5:71c91969b507
Child:
7:6be360dd949a
--- a/main.cpp	Wed Oct 23 10:11:31 2019 +0000
+++ b/main.cpp	Wed Oct 23 12:00:14 2019 +0000
@@ -29,11 +29,11 @@
 {
     uBit.init();
     serial.format(8,mbed::RawSerial::None,2);
-    serial.baud(115200);
+    serial.baud(9600);
     serial.redirect(MICROBIT_PIN_P1, MICROBIT_PIN_P2);  // tx,rx
     serial.send("A\r\n");
     for (int x = 0; x < 1000; x++) {
-        serial.send("A");  // was serial.send("A\r\n"); 
+        serial.send("B");  // was serial.send("A\r\n"); 
     }
     release_fiber();
 }