The example program for mbed pin-compatible platforms

Dependencies:   mbed

Fork of mbed_blinky by Mbed

Files at this revision

API Documentation at this revision

Comitter:
naohiro2g
Date:
Tue Nov 26 13:23:19 2013 +0000
Parent:
0:7dec7e9ac085
Commit message:
test

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 7dec7e9ac085 -r 3f64e98efa48 main.cpp
--- a/main.cpp	Fri Oct 11 12:42:44 2013 +0000
+++ b/main.cpp	Tue Nov 26 13:23:19 2013 +0000
@@ -5,8 +5,12 @@
 int main() {
     while(1) {
         myled = 1;
-        wait(0.2);
+        wait(0.5);
         myled = 0;
-        wait(0.2);
+        wait(0.1);
+        myled = 1;
+        wait(0.1);
+        myled = 0;
+        wait(0.1);
     }
-}
+}
\ No newline at end of file