29 #include <mraa/gpio.h>
97 static void signalAISR(
void *ctx);
99 volatile int m_position;
100 mraa_gpio_context m_gpioA;
101 mraa_gpio_context m_gpioB;
~RotaryEncoder()
Definition: rotaryencoder.cxx:64
int position()
Definition: rotaryencoder.cxx:77
RotaryEncoder(int pinA, int pinB)
Definition: rotaryencoder.cxx:34
void initPosition(int count=0)
Definition: rotaryencoder.cxx:72
API for the Grove Rotary Encoder.
Definition: rotaryencoder.h:64