led blinky example

Dependencies:   mbed

Fork of mbed_blinky_3 by richard misi

Files at this revision

API Documentation at this revision

Comitter:
RCMISbed
Date:
Sat Aug 25 10:17:32 2018 +0000
Parent:
1:147c352ea3f6
Commit message:
option1

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 147c352ea3f6 -r 16a42f4b1a64 main.cpp
--- a/main.cpp	Thu Aug 09 15:23:45 2018 +0000
+++ b/main.cpp	Sat Aug 25 10:17:32 2018 +0000
@@ -2,11 +2,12 @@
 
 DigitalOut myled(LED3);
 
+// Main loop
 int main() {
     while(1) {
         myled = 1;
-        wait(0.1);
+        wait(0.05);
         myled = 0;
-        wait(0.5);
+        wait(0.9);
     }
 }