led blinky example

Dependencies:   mbed

Fork of mbed_blinky by richard misi

Files at this revision

API Documentation at this revision

Comitter:
RCMISbed
Date:
Thu Aug 09 15:23:45 2018 +0000
Parent:
0:21ff47307aba
Commit message:
mbed blinky led example

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 21ff47307aba -r 147c352ea3f6 main.cpp
--- a/main.cpp	Sun Jul 29 06:26:33 2018 +0000
+++ b/main.cpp	Thu Aug 09 15:23:45 2018 +0000
@@ -1,12 +1,12 @@
 #include "mbed.h"
 
-DigitalOut myled(LED1);
+DigitalOut myled(LED3);
 
 int main() {
     while(1) {
         myled = 1;
-        wait(0.2);
+        wait(0.1);
         myled = 0;
-        wait(0.2);
+        wait(0.5);
     }
 }