my led test

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
ramanaikv
Date:
Mon Mar 16 16:47:41 2015 +0000
Parent:
2:89dd5a66424d
Commit message:
added led4

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Mon Mar 16 16:34:18 2015 +0000
+++ b/main.cpp	Mon Mar 16 16:47:41 2015 +0000
@@ -1,12 +1,14 @@
 #include "mbed.h"
 
 DigitalOut myled(LED3);
-
+DigitalOut myled2(LED4);
 int main() {
     while(1) {
         myled = 1;
+        myled2 = 1;
         wait(0.2);
         myled = 0;
+        myled2 = 0;
         wait(0.2);
     }
 }