library to use pid easier

Revision:
5:ae183f132d39
Parent:
4:344e46625032
--- a/PID_lib.h	Thu Dec 15 00:58:59 2022 +0000
+++ b/PID_lib.h	Sat Dec 31 07:13:29 2022 +0000
@@ -13,7 +13,7 @@
     void pwm_read(float target_, float kp_, float ki_, float kd_, float rpm, float t_);
     void stop();
     void manualPwm(int dir,float speed_);
-    void record_data(int dir_,float speed_,float freq, float t_r);
+    float record_data(int dir_,float speed_,float freq, float t_r);
     void useParams1();
     void printParams();