29 #include <mraa/gpio.hpp> 123 static void wheelISR(
void *ctx);
126 volatile uint32_t m_counter;
127 struct timeval m_startTime;
uint32_t getMillis()
Definition: wheelencoder.cxx:52
API for the DFRobot Wheel Encoder.
Definition: wheelencoder.hpp:65
C++ API wrapper for the bh1749 driver.
Definition: a110x.hpp:29
uint32_t counter()
Definition: wheelencoder.hpp:119
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.hpp:99
~WheelEncoder()
Definition: wheelencoder.cxx:42