nathan bryant
/
mbed_blinky
Trail run, first connects
Fork of mbed_blinky by
Revision 7:d1b39456eddc, committed 2014-12-16
- Comitter:
- Debrant
- Date:
- Tue Dec 16 06:38:24 2014 +0000
- Parent:
- 6:e8cd76f38fa9
- Commit message:
- Just feeling out the board
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 d1b39456eddc main.cpp --- a/main.cpp Fri May 09 19:58:03 2014 +0300 +++ b/main.cpp Tue Dec 16 06:38:24 2014 +0000 @@ -1,12 +1,24 @@ #include "mbed.h" -DigitalOut myled(LED1); - +DigitalOut myled(LED2); +DigitalOut myld(LED1); +DigitalOut myl0(LED3); int main() { while(1) { myled = 1; wait(0.2); myled = 0; wait(0.2); + + myld = 0; + wait(0.2); + myld = 1; + wait(0.2); + + myl0 = 0; + wait(0.3); + myl0 = 1; + wait(0.3); } -} + + }
diff -r e8cd76f38fa9 -r d1b39456eddc mbed.bld --- a/mbed.bld Fri May 09 19:58:03 2014 +0300 +++ b/mbed.bld Tue Dec 16 06:38:24 2014 +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/4fc01daae5a5 \ No newline at end of file