Small changes to debug

Dependents:   DeslizadorUTN

Fork of QEI_hw by Hexley Ball

Files at this revision

API Documentation at this revision

Comitter:
Yo_Robot
Date:
Tue Jun 24 17:04:28 2014 +0000
Parent:
2:53f8ae2cf502
Commit message:
Cuenta las RPM pero el valor salta... talves porq el encoder esta en 4x o el valor de captura es muy seguido. O esta contando mal los pulsos del encoder

Changed in this revision

qeihw.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 53f8ae2cf502 -r 9a372dbd1a17 qeihw.cpp
--- a/qeihw.cpp	Tue Dec 28 19:32:07 2010 +0000
+++ b/qeihw.cpp	Tue Jun 24 17:04:28 2014 +0000
@@ -470,6 +470,7 @@
     }
     cclk /= div;
     
+    
     // Get Timer load value (velocity capture period)
     Load  = (uint64_t)(LPC_QEI->QEILOAD + 1);
     // Get Edge