Eduvance IoTLabs
/
duty_led
test commit
Revision 0:195473e80a6f, committed 2016-09-10
- Comitter:
- eduvanceIoT
- Date:
- Sat Sep 10 05:46:45 2016 +0000
- Commit message:
- test commit
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 195473e80a6f main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Sat Sep 10 05:46:45 2016 +0000 @@ -0,0 +1,15 @@ +#include "mbed.h" + +DigitalOut myled(PTE20); + +int main() { + while(1) { + + myled = 0; + wait_ms(1); + myled = 1; + wait_ms(1); + myled = 0; + wait_ms(18); + } +}
diff -r 000000000000 -r 195473e80a6f mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Sat Sep 10 05:46:45 2016 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/2241e3a39974 \ No newline at end of file