Astrid Schut / Mbed 2 deprecated Robot_Battle_met_ARVID

Dependencies:   biquadFilter MODSERIAL QEI Servo mbed

Fork of Robot_Battle_met_ARVID by Gaston Gabriël

Files at this revision

API Documentation at this revision

Comitter:
cmaas
Date:
Thu Nov 01 17:41:25 2018 +0000
Parent:
10:2325e545ce11
Child:
12:99e29b8d4155
Commit message:
speciaal voor gaston

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- 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();