Adding information to feature_encoders.md (#9486)

Co-authored-by: Ryan <fauxpark@gmail.com>
This commit is contained in:
AlexOConnorHub 2020-06-21 03:10:01 -04:00 committed by GitHub
parent f36112e957
commit b7da69ec85
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,7 +26,7 @@ If your encoder's clockwise directions are incorrect, you can swap the A & B pad
#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
#define ENCODER_RESOLUTION 4