mbed demo / Mbed 2 deprecated mbed_blinky

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
mbed_demo
Date:
Mon Aug 01 22:01:26 2016 -0700
Parent:
0:50d20ebfba71
Commit message:
changed light color to green, speed at 0.5 seconds

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Tue Aug 02 02:11:19 2016 +0000
+++ b/main.cpp	Mon Aug 01 22:01:26 2016 -0700
@@ -1,10 +1,10 @@
 #include "mbed.h"
 
-DigitalOut myled(LED1);
+DigitalOut myled(LED2);
 
 int main() {
     while(1) {
         myled = !myled;
-        wait(0.2);
+        wait(0.5);
     }
 }