test

Dependencies:   mbed

Fork of mbed_blinky by Mbed

Files at this revision

API Documentation at this revision

Comitter:
ohashi_koji
Date:
Fri Sep 18 01:25:17 2015 +0000
Parent:
6:e8cd76f38fa9
Commit message:
right

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
diff -r e8cd76f38fa9 -r b367bf38d835 main.cpp
--- a/main.cpp	Fri May 09 19:58:03 2014 +0300
+++ b/main.cpp	Fri Sep 18 01:25:17 2015 +0000
@@ -1,12 +1,23 @@
 #include "mbed.h"
 
-DigitalOut myled(LED1);
+DigitalOut myled1(LED1);
+DigitalOut myled2(LED2);
+DigitalOut myled3(LED3);
+DigitalOut myled4(LED4);
 
 int main() {
     while(1) {
-        myled = 1;
+        myled4 = 0;
+        myled1 = 1;
+        wait(0.2);
+        myled1 = 0;
+        myled2 = 1;
         wait(0.2);
-        myled = 0;
+        myled2 = 0;
+        myled3 = 1;
+        wait(0.2);
+        myled3 = 0;
+        myled4 = 1;
         wait(0.2);
     }
 }
diff -r e8cd76f38fa9 -r b367bf38d835 mbed.bld
--- a/mbed.bld	Fri May 09 19:58:03 2014 +0300
+++ b/mbed.bld	Fri Sep 18 01:25:17 2015 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/mbed_official/code/mbed/builds/
\ No newline at end of file
+http://mbed.org/users/mbed_official/code/mbed/builds/7e07b6fb45cf
\ No newline at end of file