This is a very simple guide, reviewing the steps required to get Blinky working on an mbed OS platform.
Fork of mbed-os-example-mbed5-blinky by
Diff: main.cpp
- Revision:
- 72:108c30d8ae39
- Parent:
- 29:0b58d21e87d6
--- a/main.cpp Mon Jul 02 10:45:02 2018 +0100
+++ b/main.cpp Sat Jul 14 18:25:28 2018 +0000
@@ -6,6 +6,8 @@
int main() {
while (true) {
led1 = !led1;
+ wait(1.0);
+ led1 = !led1;
wait(0.5);
}
}
