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 mbed-os-examples

Files at this revision

API Documentation at this revision

Comitter:
MarkAntony
Date:
Sat Jul 14 18:25:28 2018 +0000
Parent:
71:24437f8a77a2
Commit message:
just normal blinky blinky

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- 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);
     }
 }