10/25/2015
Dependencies: PID mbed MaxSonar eeprom iSerial Fork_Boss_Communication_Robot
Revision 12:8a06a803e373, committed 2016-03-03
- Comitter:
- palmdotax
- Date:
- Thu Mar 03 09:07:22 2016 +0000
- Parent:
- 11:9df7ada37d31
- Commit message:
- LOL
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 9df7ada37d31 -r 8a06a803e373 main.cpp --- a/main.cpp Wed Mar 02 23:10:18 2016 +0000 +++ b/main.cpp Thu Mar 03 09:07:22 2016 +0000 @@ -156,9 +156,10 @@ m1.movespeed_2(1,0,0); } //shutdown.attach_us(&Timeout, 2.0); - time_getsensor.attach_us(&getSensor, 2.0); + else + {time_getsensor.attach_us(&getSensor, 2.0); time_distance.attach_us(&get_d, 2.0); PID_m1(); - PID_m2(); + PID_m2();} } } \ No newline at end of file