Jeong Hoon Jo / motor

Files at this revision

API Documentation at this revision

Comitter:
Jeonghoon
Date:
Thu Jul 11 13:29:17 2019 +0000
Parent:
7:42c478f9a1fe
Commit message:
190711;

Changed in this revision

motor.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/motor.cpp	Wed Jul 10 04:30:47 2019 +0000
+++ b/motor.cpp	Thu Jul 11 13:29:17 2019 +0000
@@ -16,7 +16,7 @@
     cpidx =0;
 
     DeltaT = 32; // Timer Interrupt period = 32ms = 32,000 us
-    CntPerRev = 2400; // 100 shft/rev x 6 pls/shft x 4 evnt/pls
+    CntPerRev = 2800; // 100 shft/rev x 7 pls/shft x 4 evnt/pls
     duty = 50;
     PreviousEncode = 0;
     TargetSpeed = 0; //initial target speed