Oğuz Özdemir / VNH5019-FastPWM

Dependencies:   FastPWM

Fork of VNH5019 by IEEE RAS METU

Files at this revision

API Documentation at this revision

Comitter:
mbedoguz
Date:
Thu Mar 15 20:49:18 2018 +0000
Parent:
11:6902db5e7978
Child:
13:414b463160ef
Commit message:
current coefs are changed

Changed in this revision

VNH5019.h Show annotated file Show diff for this revision Revisions of this file
--- a/VNH5019.h	Thu Dec 07 15:32:22 2017 +0000
+++ b/VNH5019.h	Thu Mar 15 20:49:18 2018 +0000
@@ -91,7 +91,7 @@
 {
    // Scale is 210mV per A
    // Scale factor is 3.3 / 0.210 = 15.7142
-   return CS.read() * 15714;
+   return CS.read()*15.7142;
 }
 
 inline