29 #include <mraa/gpio.hpp>
122 static void wheelISR(
void *ctx);
125 volatile uint32_t m_counter;
126 struct timeval m_startTime;
uint32_t getMillis()
Definition: wheelencoder.cxx:52
API for the DFRobot Wheel Encoder.
Definition: wheelencoder.h:64
uint32_t counter()
Definition: wheelencoder.h:118
void startCounter()
Definition: wheelencoder.cxx:80
void stopCounter()
Definition: wheelencoder.cxx:92
WheelEncoder(int pin)
Definition: wheelencoder.cxx:32
void initClock()
Definition: wheelencoder.cxx:47
void clearCounter()
Definition: wheelencoder.h:98
~WheelEncoder()
Definition: wheelencoder.cxx:42