Erina Yamaguchi / Mbed OS jumping_leg_clicky

Dependencies:   ExperimentServer MotorShield QEI_pmw

Revision:
26:0fc6264f5ef5
Parent:
25:52b378e89f42
Child:
27:9f2dad72971f
diff -r 52b378e89f42 -r 0fc6264f5ef5 main.cpp
--- a/main.cpp	Tue Sep 29 21:09:51 2020 +0000
+++ b/main.cpp	Sun Oct 02 22:20:03 2022 +0000
@@ -23,7 +23,7 @@
 QEI encoderC(PC_6, PC_7, NC, 1200, QEI::X4_ENCODING);  // MOTOR C ENCODER (no index, 1200 counts/rev, Quadrature encoding)
 QEI encoderD(PD_12, PD_13, NC, 1200, QEI::X4_ENCODING);// MOTOR D ENCODER (no index, 1200 counts/rev, Quadrature encoding)
 
-MotorShield motorShield(12000); //initialize the motor shield with a period of 12000 ticks or ~20kHZ
+MotorShield motorShield(24000); //initialize the motor shield with a period of 24000 ticks or ~10kHZ
 Ticker currentLoop;
 
 // Variables for q1