23:00

Dependencies:   biquadFilter MODSERIAL QEI Servo mbed

Fork of StateMachine_EMg_RKI_PID_MOTOR_DEMO_CLICK by Gaston Gabriël

Revision:
11:4ee7f6d482f4
Parent:
10:2325e545ce11
Child:
12:99e29b8d4155
diff -r 2325e545ce11 -r 4ee7f6d482f4 main.cpp
--- a/main.cpp	Thu Nov 01 17:29:01 2018 +0000
+++ b/main.cpp	Thu Nov 01 17:41:25 2018 +0000
@@ -720,8 +720,8 @@
     led3 = 1;
     
     pwmpin1.period_us(60); // setup motor
-    ref_rot.attach(Motor_mover, 0.001);// HAS TO GO TO STATE MACHINE
-
+    ref_rot.attach(Motor_mover, 0.1f);// HAS TO GO TO STATE MACHINE
+    movement_ticker_activator()
     while (true) {
         //ProcessStateMachine();