ken fuji
/
robocon2017mbed_contoroler_L2
修正
Fork of robocon2017mbed_contoroler_L2 by
Revision 4:10a3b9d4d219, committed 2017-10-21
- Comitter:
- fujikenac
- Date:
- Sat Oct 21 05:10:40 2017 +0000
- Parent:
- 3:21fb6b67bb54
- Commit message:
- ??????
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Thu Oct 19 13:41:29 2017 +0000 +++ b/main.cpp Sat Oct 21 05:10:40 2017 +0000 @@ -101,7 +101,7 @@ //uint16_t MinimumRangeL[4] = {19000,35000,35600,21000}; //uint16_t MaxmumRangeL[4] = {49000,57000,43000,42000 }; bool ReverseL[4] = {false,true,true,true}; -bool ReverseR[4] = {true,false,true,false}; +bool ReverseR[4] = {true,false,true,true}; //AnalogIn ArmSense[4] = {AnalogIn(A6),AnalogIn(A5),AnalogIn(A4),AnalogIn(A3)}; Nunchuck ctrl(D4,D5); Serial dev(D1,D0); @@ -211,16 +211,16 @@ //if(!DEBUG)sbdbt.putc(SerialData[j][i]); } }*/ - + /* sbdbt.printf("R:"); for(int i = 4 ; i < 12 ; i+=2)print(i,SerialData[R]); sbdbt.printf("L:"); for(int i = 4 ; i < 12 ; i+=2)print(i,SerialData[L]); - + */ for(int j = 0; j < 2 ; j++){ for(int i = 0 ; i < dataNum ; i++){ //sbdbt.printf("%3d ",SerialData[j][i]); - //if(!DEBUG)sbdbt.putc(SerialData[j][i]); + if(!DEBUG)sbdbt.putc(SerialData[j][i]); } } count = 0;