Erina Yamaguchi / Mbed OS jumping_leg_clicky

Dependencies:   ExperimentServer MotorShield QEI_pmw

Files at this revision

API Documentation at this revision

Comitter:
elijahsj
Date:
Sun Oct 02 22:20:03 2022 +0000
Parent:
25:52b378e89f42
Child:
27:9f2dad72971f
Commit message:
updated motor shield

Changed in this revision

MotorShield.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/MotorShield.lib	Tue Sep 29 21:09:51 2020 +0000
+++ b/MotorShield.lib	Sun Oct 02 22:20:03 2022 +0000
@@ -1,1 +1,1 @@
-https://os.mbed.com/users/elijahsj/code/MotorShield/#e3a2ade56b79
+https://os.mbed.com/users/adimmit/code/MotorShield/#46feb6919761
--- 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