Dependencies: mbed
Revision 2:9ec8d00db1a9, committed 2020-10-30
- Comitter:
- Yanagihara
- Date:
- Fri Oct 30 05:13:46 2020 +0000
- Parent:
- 1:25a16c59dd08
- Commit message:
- change i1 -> j
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 25a16c59dd08 -r 9ec8d00db1a9 main.cpp --- a/main.cpp Fri Oct 30 05:11:18 2020 +0000 +++ b/main.cpp Fri Oct 30 05:13:46 2020 +0000 @@ -16,8 +16,8 @@ pc.putc(i3); pc.printf("\r\n"); - for(i1=0;i1<10;i1++){ - pc.printf("i1=%d -- enter any key --> ",i1); + for(int j=0; j<10; j++){ + pc.printf("j=%d -- enter any key --> ",j); c = pc.getc(); pc.putc(c); pc.printf("\r\n");