Rafael Adalberto Encinas Rodriguez
/
BLINK02
wismods
Revision 0:3c3ca71f4172, committed 2016-10-05
- Comitter:
- rafaelencinas94
- Date:
- Wed Oct 05 21:47:32 2016 +0000
- Commit message:
- prueba;
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 3c3ca71f4172 main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Wed Oct 05 21:47:32 2016 +0000 @@ -0,0 +1,12 @@ +#include "mbed.h" + +DigitalOut led(D4); + +int main() { + while(1) { + led = 1; + wait(1.0); + led = 0; + wait(0.2); + } +}
diff -r 000000000000 -r 3c3ca71f4172 mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Wed Oct 05 21:47:32 2016 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/b0220dba8be7 \ No newline at end of file