used the mbed folder from a the frdm_gpio program to get the blinky program to compile

Dependencies:   mbed

Fork of mbed-os-example-mbed5-blinky by mbed-os-examples

Revision:
48:4c41b44e5759
Parent:
29:0b58d21e87d6
--- a/main.cpp	Mon Oct 02 12:30:03 2017 +0100
+++ b/main.cpp	Wed Oct 04 21:41:05 2017 +0000
@@ -1,12 +1,12 @@
 #include "mbed.h"
 
-DigitalOut led1(LED1);
+DigitalOut myled(LED1);
 
-// main() runs in its own thread in the OS
 int main() {
-    while (true) {
-        led1 = !led1;
-        wait(0.5);
+    while(1) {
+        myled = 1;
+        wait(0.2);
+        myled = 0;
+        wait(0.2);
     }
-}
-
+}
\ No newline at end of file