![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
10/25/2015
Dependencies: PID mbed MaxSonar eeprom iSerial Fork_Boss_Communication_Robot
Diff: main.cpp
- Revision:
- 12:8a06a803e373
- Parent:
- 11:9df7ada37d31
--- 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