elementary serial print using the external IO breakout board and PL2303
Revision 9:ea84b7a3e23f, committed 2020-01-02
- Comitter:
- matrixmike
- Date:
- Thu Jan 02 11:49:41 2020 +0000
- Parent:
- 8:49fe8894d28d
- Commit message:
- Baud rate changed for Brother EP44. Max rate is 1200.
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 49fe8894d28d -r ea84b7a3e23f main.cpp --- a/main.cpp Wed Oct 23 12:46:37 2019 +0000 +++ b/main.cpp Thu Jan 02 11:49:41 2020 +0000 @@ -35,7 +35,7 @@ c = 'c'; serial.format(8,mbed::RawSerial::None,2); - serial.baud(9600); + serial.baud(1200); // changed to transmit to Brother EP44 serial.redirect(MICROBIT_PIN_P1, MICROBIT_PIN_P2); // tx,rx serial.send("A\r\n"); // c=uBit.serial.read(ASYNC);