|
Treehopper C++ API
|
#include <RotaryEncoder.h>
Public Member Functions | |
| RotaryEncoder (DigitalIn &channelA, DigitalIn &channelB, int stepsPerTick=4) | |
| ~RotaryEncoder () | |
| long | position () |
| void | position (long value) |
Public Attributes | |
| Event< RotaryEncoder, PositionChangedEventArgs > | positionChanged |
| RotaryEncoder | ( | DigitalIn & | channelA, |
| DigitalIn & | channelB, | ||
| int | stepsPerTick = 4 |
||
| ) |
| ~RotaryEncoder | ( | ) |
| long position | ( | ) |
| void position | ( | long | value | ) |
| Event<RotaryEncoder, PositionChangedEventArgs> positionChanged |