Library for decoding quadrature encoders. Uses a ring buffer so you can be sure to process every tick in the order that it happened. This library is not really intended for public use yet and does not have much documentation.

Dependents:   LineFollowing DeadReckoning

Revision:
3:a2dd8d8bde4c
Parent:
2:22ac2b4a8012
--- a/PololuEncoder.h	Thu Feb 20 20:09:21 2014 +0000
+++ b/PololuEncoder.h	Sat Feb 22 02:23:06 2014 +0000
@@ -1,3 +1,5 @@
+#pragma once
+
 #include <mbed.h>
 
 #define POLOLU_ENCODER_EVENT_INC  0x40