pid test

Fork of AVEncoder by Aravind Vadali

Revision:
1:0e90c815bcbc
Parent:
0:a32ab75adcad
--- a/AVEncoder.h	Tue Nov 03 06:12:30 2015 +0000
+++ b/AVEncoder.h	Sat Nov 21 03:10:22 2015 +0000
@@ -42,10 +42,10 @@
     
 public:
     AVEncoder(PinName channelA, PinName channelB);
-    unsigned long int getPulses();
+    long int getPulses();
     void reset();
 private:
-    unsigned long int m_pulses;
+    long int m_pulses;
     InterruptIn chanA;
     InterruptIn chanB;
     void incrementCount();