29/10/2019
Dependencies: Encoder_Nucleo_16_bits
Diff: PID.cpp
- Revision:
- 1:24c444f3716b
- Parent:
- 0:259a31d968a6
- Child:
- 2:d6f14bb935da
diff -r 259a31d968a6 -r 24c444f3716b PID.cpp --- a/PID.cpp Sun May 20 08:34:23 2018 +0000 +++ b/PID.cpp Mon May 21 16:16:13 2018 +0000 @@ -1,6 +1,6 @@ #include "PID.h" -PID::PID(TIM_TypeDef * _TIM, PinName outPWM, PinName outA, PinName outB, double scale, double loopTime) : _encoder (_TIM), _pwm(outPWM), _outA(outA), _outB(outB) +PID::PID(TIM_TypeDef * TIM, PinName outPWM, PinName outA, PinName outB, double scale, double loopTime) : _encoder (TIM), _pwm(outPWM), _outA(outA), _outB(outB) { Ticker _tick;