TeamE7

Dependencies:   mbed

Fork of HelloWorld by Simon Ford

Files at this revision

API Documentation at this revision

Comitter:
TeamE7
Date:
Mon Jan 30 12:53:13 2017 +0000
Parent:
1:03c191369089
Commit message:
TeamE7

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 03c191369089 -r 07dd0b2422cd main.cpp
--- a/main.cpp	Sun Jan 01 20:57:57 2012 +0000
+++ b/main.cpp	Mon Jan 30 12:53:13 2017 +0000
@@ -1,12 +1,28 @@
 #include "mbed.h"
+/* COPYRIGHT TEAM E7 */
 
 DigitalOut myled(LED1);
+DigitalOut myled2(LED2);
+DigitalOut myled3(LED3);
+DigitalOut myled4(LED4);
 
 int main() {
     while(1) {
         myled = 1;
-        wait(0.2);
+        wait (0.05);
+        myled2 = 1;
+        wait (0.05);
+        myled3 = 1;
+        wait (0.05);
+        myled4 = 1;
+        wait (0.05);
         myled = 0;
-        wait(0.2);
+        wait (0.05);
+        myled2 = 0;
+        wait (0.05);
+        myled3 = 0;
+        wait (0.05);
+        myled4 = 0;
+        wait (0.05);
     }
 }