led

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
genebe25
Date:
Tue Jul 07 11:34:16 2015 +0000
Parent:
0:31408c00a214
Commit message:
slow

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 31408c00a214 -r 883bcb081bf0 main.cpp
--- a/main.cpp	Tue Jul 07 11:33:00 2015 +0000
+++ b/main.cpp	Tue Jul 07 11:34:16 2015 +0000
@@ -5,11 +5,11 @@
 int main() {
     while(1) {
         myled = 1;
-                myled2 = 0;
+        myled2 = 0;
                 
-        wait(0.2);
+        wait(0.5);
         myled = 0;
-                        myled2 = 1;
-        wait(0.2);
+        myled2 = 1;
+        wait(0.5);
     }
 }