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 |
--- /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); + } +}
--- /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