Carlo Collodi / kangaroo

Dependencies:   QEI mbed

Revision:
26:53b793b7a82f
Parent:
23:112c0be5a7f3
Child:
28:21773a6fb6df
--- a/include/motor.hpp	Tue Nov 19 20:42:01 2013 +0000
+++ b/include/motor.hpp	Sun Nov 24 06:00:21 2013 +0000
@@ -7,7 +7,7 @@
 class Motor {
 
     public:
-        Motor(PinName aPin, PinName fPin, PinName bPin, PinName pwmPin, PinName encA, PinName encB);
+        Motor(PinName aPin, PinName fPin, PinName bPin, PinName pwmPin, QEI enc);
         
         void start();
         void stop();