Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: buttoncontrol includeair includeair Oudverslag
Diff: controlandadjust.h
- Revision:
 - 0:041a12a5b315
 - Child:
 - 1:ece12a295ce3
 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/controlandadjust.h	Tue Oct 06 10:58:04 2015 +0000
@@ -0,0 +1,21 @@
+#ifndef MBED_CONTROLANDADJUST_H
+#define MBED_CONTROLANDADJUST_H
+
+#include "mbed.h"
+#include <string>
+
+class controlandadjust
+{
+public:
+    controlandadjust();
+    void P(float error1, float error2 ,float Kp );
+    void PI(float error1, float error2, float Kp, float Ki,float Ts, float &error1_int, float &error2_int);
+    void PID(float error1, float error2, float Kp, float Ki,float Kd,float Ts,
+                                   float &error1_int, float &error2_int, float &error1_prev, float &error2_prev);
+
+private:
+   void verwerksignaal(float , float );
+   
+};
+
+#endif
\ No newline at end of file