PID Library Brought in from the PID Arduino Library

Dependents:   Basic_PID wheelchaircontrol wheelchaircontrolRosCom wheelchaircontrol ... more

Revision:
2:60801ab3cbf9
Parent:
1:37c3ab46d475
Child:
3:62f1e316f15b
diff -r 37c3ab46d475 -r 60801ab3cbf9 PID.cpp
--- a/PID.cpp	Tue Aug 28 23:24:01 2018 +0000
+++ b/PID.cpp	Fri Aug 31 17:09:28 2018 +0000
@@ -1,7 +1,7 @@
 #include "PID.h"
 #include "mbed.h"
 
-PID::PID(double* Input, double* Output, double* Setpoint, double Kp, double Ki, double Kd, int POn, int ControllerDirection){
+PID::PID(volatile double* Input, volatile double* Output, volatile double* Setpoint, double Kp, double Ki, double Kd, int POn, int ControllerDirection){
     PIDtimer.start();
     PIDtimer.reset();   
     myOutput = Output;