Go Down

Topic: Alternative to digitalReadFast for Arduino 101? (Read 1 time) previous topic - next topic


I'm having trouble reading too fast encoders with interrupts and normal digitalRead.

Is there any alternative to the library digitalReadFast for arduino 101?


There are multiple libs for reading encoders.
You could start by adding a link to the exact encoder you are using.

Rotary encoders especially cheaper ones suffer from bounce and its not uncommon for them to skip counts or mis-read.

A schematic may also be helpful too.
It may not be the answer you were looking for but its the one I am giving based on either experience, educated guess, google or the fact that you gave nothing to go with in the first place so I used my wonky crystal ball.

Go Up