Library for driving a motor with one PWM and one DIR signal using PI control.

Fork of Motor2 by Reiko Randoja

Revision:
10:b0e6051a6109
Parent:
9:bec5a728405f
Child:
11:87a73d40ce5b
--- a/motor.h	Sun Sep 22 07:24:15 2013 +0000
+++ b/motor.h	Sun Nov 03 11:41:40 2013 +0000
@@ -89,7 +89,7 @@
 
     int setPoint;
     int pMulti;
-    int iDiv;
+    int iMulti;
     int dMulti;
     int error;
     int prevError;