Motor current controller
Fork of CURRENT_CONTROL by
Diff: CURRENT_CONTROL.cpp
- Revision:
- 13:b5f85f926f22
- Parent:
- 12:085f35babe21
- Child:
- 14:67fc256efeb7
diff -r 085f35babe21 -r b5f85f926f22 CURRENT_CONTROL.cpp --- a/CURRENT_CONTROL.cpp Sat Dec 24 09:49:47 2016 +0000 +++ b/CURRENT_CONTROL.cpp Sat Dec 24 09:55:00 2016 +0000 @@ -235,7 +235,7 @@ SetVoltage(voltage_out); }else{ pid.Reset(); - voltage_out = 0.0 + voltage_out = 0.0; SetVoltage(0.0); } //--------------------------------//