State machine
Dependencies: mbed Adafruit_GFX BioroboticsMotorControl MODSERIAL BioroboticsEMGFilter
Diff: motor_calibration.h
- Revision:
- 29:77fee8a01529
- Parent:
- 28:25917b26022c
- Child:
- 33:543debddb3a9
diff -r 25917b26022c -r 77fee8a01529 motor_calibration.h --- a/motor_calibration.h Thu Nov 01 12:31:39 2018 +0000 +++ b/motor_calibration.h Thu Nov 01 12:55:46 2018 +0000 @@ -24,7 +24,7 @@ //calibLED2 = !calibLED2; // LED turns red } - if (iterations_not_moving >= 40) // After 5 seconds have passed (10 times Ticker motor_calib) + if (iterations_not_moving >= 20) // After 5 seconds have passed (10 times Ticker motor_calib) { return true; //alibLED3 = !calibLED3; // LED becomes red (purple if both motors are calibrated)