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

Files at this revision

API Documentation at this revision

Comitter:
DavidEGrayson
Date:
Sat Feb 22 02:23:06 2014 +0000
Parent:
2:22ac2b4a8012
Commit message:
stuff;

Changed in this revision

PololuEncoder.h Show annotated file Show diff for this revision Revisions of this file
diff -r 22ac2b4a8012 -r a2dd8d8bde4c PololuEncoder.h
--- 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