Adding information to feature_encoders.md (#9486)
Co-authored-by: Ryan <fauxpark@gmail.com>
This commit is contained in:
parent
f36112e957
commit
b7da69ec85
|
@ -26,7 +26,7 @@ If your encoder's clockwise directions are incorrect, you can swap the A & B pad
|
||||||
#define ENCODER_DIRECTION_FLIP
|
#define ENCODER_DIRECTION_FLIP
|
||||||
```
|
```
|
||||||
|
|
||||||
Additionally, the resolution can be specified in the same file (the default & suggested is 4):
|
Additionally, the resolution, which defines how many pulses the encoder registers between each detent, can be defined with:
|
||||||
|
|
||||||
```c
|
```c
|
||||||
#define ENCODER_RESOLUTION 4
|
#define ENCODER_RESOLUTION 4
|
||||||
|
|
Loading…
Reference in New Issue