Motion Control library for 2, 3 inputs Full Bridge + Quadrature Encoder, motor system (also called a 2 wheels robot)

Dependencies:   Encoder_Nucleo_16_bits

Dependents:   FRC_2018 FRC2018_Bis 0hackton_08_06_18 lib_FRC_2019 ... more

Revision:
1:24c444f3716b
Parent:
0:259a31d968a6
Child:
2:d6f14bb935da
--- 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;