final

Dependencies:   MatrixMath Matrix ExperimentServer QEI_pmw MotorShield

Files at this revision

API Documentation at this revision

Comitter:
elijahsj
Date:
Wed Aug 26 02:49:40 2020 +0000
Parent:
10:a40d180c305c
Child:
12:84a6dcb60422
Commit message:
documentation;

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	Wed Aug 26 02:44:03 2020 +0000
+++ b/MotorShield.lib	Wed Aug 26 02:49:40 2020 +0000
@@ -1,1 +1,1 @@
-https://os.mbed.com/users/elijahsj/code/MotorShield/#2f46953e7c8b
+https://os.mbed.com/users/elijahsj/code/MotorShield/#2b45973bdc67
--- a/main.cpp	Wed Aug 26 02:44:03 2020 +0000
+++ b/main.cpp	Wed Aug 26 02:49:40 2020 +0000
@@ -48,7 +48,7 @@
             encoderC.reset();
             encoderD.reset();
 
-            motors.motorAWrite(0, 0); //turn motor A off
+            motors.motorAWrite(0, 0); //turn motor A off, motors.motorAWrite(DUTY CYCLE, DIRECTION), DIRECTION = 0 is forward 
 
             // Run experiment
             while( t.read() < 2 ) {