ライントレース最低限の走行完成版。交差点認識、ゴール停止機能の追加。
Dependencies: mbed CRotaryEncoder TB6612FNG
Revision 8:59feb1d48edc, committed 2019-08-28
- Comitter:
- GGU
- Date:
- Wed Aug 28 00:21:27 2019 +0000
- Parent:
- 7:cfbf8d4a4d36
- Commit message:
- test;
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r cfbf8d4a4d36 -r 59feb1d48edc main.cpp --- a/main.cpp Wed Aug 28 00:13:57 2019 +0000 +++ b/main.cpp Wed Aug 28 00:21:27 2019 +0000 @@ -40,13 +40,13 @@ #define TUARD_RUN 0x01 //機体設定モード /////アナログ入力オブジェクト定義////////// -AnalogIn s1(D3); -AnalogIn s2(A6); -AnalogIn s3(A5); -AnalogIn s4(A4); -AnalogIn s5(A3); -AnalogIn s6(A2); -AnalogIn s7(A1); +AnalogIn s1(A1); +AnalogIn s2(D3); +AnalogIn s3(A6); +AnalogIn s4(A5); +AnalogIn s5(A4); +AnalogIn s6(A3); +AnalogIn s7(A2); AnalogIn s8(A0); /////////////////////////////////////// Serial PC(USBTX,USBRX);