Kenya Harada
/
test1
a
Revision 1:bcd8008a4874, committed 2014-05-19
- Comitter:
- 12F2045K
- Date:
- Mon May 19 05:18:29 2014 +0000
- Parent:
- 0:a1af7592b84c
- Commit message:
- b
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Mon May 19 05:12:58 2014 +0000 +++ b/main.cpp Mon May 19 05:18:29 2014 +0000 @@ -4,14 +4,6 @@ int main() { while(1) { - for(int i=1; i<9;i = i*2){ - myleds = i; - wait(0.2); - } - for(int i=1; i<9;i = i*2){ - myleds = i*16; - wait(0.2); - } myleds = 0xff; wait(0.5); for(int i=1; i<9;i = i*2){ @@ -35,7 +27,7 @@ myleds = i*16; wait(0.1); } - for(int i=8; i>1;i = i/2){ + for(int i=8; i>0;i = i/2){ if(i == 2) myleds = 0; else