Hotboards MX
/
Nucleo_toggle_ios
programa de prueba
Revision 0:d2448f1fb20b, committed 2016-04-21
- Comitter:
- Hotboards
- Date:
- Thu Apr 21 16:07:06 2016 +0000
- Commit message:
- first release
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 d2448f1fb20b main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Thu Apr 21 16:07:06 2016 +0000 @@ -0,0 +1,22 @@ +#include "mbed.h" + +DigitalOut LED_1(PB_8); +DigitalOut LED_2(PB_9); + + + +int main() +{ + while(1) + { + LED_1 = 1; + LED_2 = 1; + wait(0.5); // 500 ms + + LED_1 =0; + LED_2 = 0; + + wait(0.5); // 500 ms + } +} + \ No newline at end of file
diff -r 000000000000 -r d2448f1fb20b mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Thu Apr 21 16:07:06 2016 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/082adc85693f \ No newline at end of file