Yoshihiro TSUBOI
/
__collab_test_yt
change wait from 1.0 to 0.5
Fork of __collab_test by
Revision 5:2ccbf6d5d336, committed 2012-06-09
- Comitter:
- okano
- Date:
- Sat Jun 09 00:18:04 2012 +0000
- Parent:
- 1:90119b064e7a
- Child:
- 6:e7484c826f75
- Commit message:
- test 2
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Sat Jun 09 00:08:39 2012 +0000 +++ b/main.cpp Sat Jun 09 00:18:04 2012 +0000 @@ -1,12 +1,12 @@ -#include "mbed.h" - -DigitalOut myled(LED1); - -int main() { - while(1) { - myled = 1; - wait(0.1); - myled = 0; - wait(0.1); - } -} +#include "mbed.h" + +DigitalOut myled(LED1); + +int main() { + while(1) { + myled = 1; + wait(1.0); + myled = 0; + wait(1.0); + } +}