elementary serial print using the external IO breakout board and PL2303
Diff: main.cpp
- Revision:
- 1:c180896f50ce
- Parent:
- 0:782954b320bb
- Child:
- 2:b3fbc276081a
--- a/main.cpp Fri Oct 18 04:59:46 2019 +0000 +++ b/main.cpp Fri Oct 18 08:22:34 2019 +0000 @@ -35,6 +35,8 @@ uBit.init(); for ( int x = 2; x < 14; x++) { pc.printf("Hello World on a Friday\n\r"); + pc.printf("Hello World on a %d Friday\n\r", x ); + pc.printf("Hello World on a %c Friday\n\r", '%' ); // Insert your code here! } uBit.display.scroll("HELLO WORLD! :)");