bco stm
/
monexemple
gdgfg
Revision 2:b60cb847489c, committed 2014-02-21
- Comitter:
- bcostm
- Date:
- Fri Feb 21 09:36:12 2014 +0000
- Parent:
- 1:6e558092d3df
- Child:
- 3:f57d754b1814
- Commit message:
- Put different delays for ON and OFF states + add comments
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 |
--- a/main.cpp Mon Feb 17 22:16:05 2014 +0000 +++ b/main.cpp Fri Feb 21 09:36:12 2014 +0000 @@ -4,9 +4,9 @@ int main() { while(1) { - myled = 1; - wait(0.2); - myled = 0; - wait(0.2); + myled = 1; // LED is ON + wait(0.2); // 200 ms + myled = 0; // LED is OFF + wait(1.0); // 1 sec } }
--- a/mbed.bld Mon Feb 17 22:16:05 2014 +0000 +++ b/mbed.bld Fri Feb 21 09:36:12 2014 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/mbed_official/code/mbed/builds/ \ No newline at end of file +http://mbed.org/users/mbed_official/code/mbed/builds/ed8466a608b4 \ No newline at end of file