Jose Calle
/
Practvideo
Cómo se explica el programa?
Revision 0:bbec8ee34df1, committed 2013-10-12
- Comitter:
- jmcallef
- Date:
- Sat Oct 12 21:29:57 2013 +0000
- Commit message:
- Cual se explica el programa?
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 000000000000 -r bbec8ee34df1 main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Sat Oct 12 21:29:57 2013 +0000 @@ -0,0 +1,16 @@ +#include "mbed.h" + +DigitalOut myled(LED1); +DigitalOut myled2(LED2); + +int main() { + + int i = 0; + + while(1) { + myled = i & 1; + myled2 = i & 0; + wait(0.25); + i++; + } +}
diff -r 000000000000 -r bbec8ee34df1 mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Sat Oct 12 21:29:57 2013 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/a9913a65894f \ No newline at end of file