Initial Fork

Revision:
4:53e02c276f23
Parent:
2:73cbc6028f7a
--- a/TB6612.h	Fri May 09 14:49:33 2014 +0000
+++ b/TB6612.h	Sun Oct 05 12:20:35 2014 +0000
@@ -14,7 +14,8 @@
 class TB6612 {
 public:
 
-    int scale;
+    float scale;
+    int _speed; //save control input
 
     TB6612(PinName pwm, PinName fwd, PinName rev);
     
@@ -23,6 +24,7 @@
     {
         speed(value);
     }
+    int getSpeed();
     
 protected:
     PwmOut _pwm;