testcode pid
Dependencies: HIDScope MODSERIAL QEI biquadFilter mbed
Fork of testPID by
Diff: main.cpp
- Revision:
- 23:e9b1b426cde6
- Parent:
- 22:1ba637601dc3
- Child:
- 24:56db31267f10
--- a/main.cpp Tue Oct 13 12:55:33 2015 +0000 +++ b/main.cpp Tue Oct 13 12:57:33 2015 +0000 @@ -170,6 +170,8 @@ pwm_motor1.write(0.4); pwm_motor2.write(0.4); } + encoder1.reset(); + encoder2.reset(); } //EMG Maximum Voluntary Contraction measurement