send a number through serial USB >> blink it in binary using the default LED
Fork of mbed-os-example-mbed5-blinky by
Diff: main.cpp
- Revision:
- 52:fb9d943f4042
- Parent:
- 51:38bcf5ee4cb1
--- a/main.cpp Sat Nov 11 15:03:45 2017 +0000
+++ b/main.cpp Sat Nov 11 15:16:46 2017 +0000
@@ -15,7 +15,7 @@
while (true) {
while (!pc.readable());
pc.scanf("%d", &number);
-// pc.printf("you entered %d\n", number);
+ pc.printf("you entered %d\n", number);
blink_in_binary(number);
}
}
Spyros Papanastasiou
