Simple program for introduction of mirror actuator.

Revision:
8:49ac75c42da0
Parent:
7:942fd77d5e19
Child:
12:8ea956a5c1d8
Child:
13:1bf960928a93
--- a/ControllerLoop.h	Thu Apr 15 05:36:55 2021 +0000
+++ b/ControllerLoop.h	Tue Apr 27 07:50:03 2021 +0000
@@ -9,18 +9,26 @@
 #include "Unwrapper_2pi.h"
 #include "Mirror_Kinematic.h"
 #include "data_structs.h"
+#include "GPA.h"
+#include "FastPWM.h"
 
 extern EncoderCounter counter1,counter2;
 extern EncoderCounterIndex index1,index2;
 extern DiffCounter diff1,diff2;
 extern path_1d *current_path;
 extern LinearCharacteristics i2u;
-extern AnalogOut i_des1, i_des2;
+extern LinearCharacteristics u2i;
+//extern FastPWM i_des1;
+extern AnalogOut i_des1;
+extern AnalogOut i_des2;
 extern DigitalOut i_enable;
+extern DigitalIn big_button;
 extern Timer glob_ti;
 extern Mirror_Kinematic mk;
 extern DigitalOut laser_on;
 extern DATA_Xchange data;
+extern GPA myGPA;
+//extern AnalogIn i_act2;
 
 // This is the loop class, it is not a controller at first hand, it guarantees a cyclic call
 class ControllerLoop