赤子を殺すより楽な作業よv2
Dependencies: RemoteIR TextLCD
Revision 10:67c7f1c85cdd, committed 2020-07-30
- Comitter:
- nishimura_taku_pet
- Date:
- Thu Jul 30 00:37:49 2020 +0000
- Parent:
- 9:4ee4fcfd6a5c
- Commit message:
- commit
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 4ee4fcfd6a5c -r 67c7f1c85cdd main.cpp --- a/main.cpp Wed Jul 29 07:53:43 2020 +0000 +++ b/main.cpp Thu Jul 30 00:37:49 2020 +0000 @@ -276,19 +276,19 @@ run = LEFT; break; case 4: - flag_sp += 3; + flag_sp %= 3 + 3; run = RIGHT; break; case 5: - flag_sp += 3; + flag_sp %= 3 + 3; run = LEFT; break; case 6: - flag_sp += 6; + flag_sp %= 3 + 6; run = RIGHT; break; case 7: - flag_sp += 6; + flag_sp %= 3 + 6; run = LEFT; break; }