I'm new to programming. Please help me.
All code I have seen so far, using interrupts to be able to read an encoder.
It's to read without using interrupts?
I'm new to programming. Please help me.
All code I have seen so far, using interrupts to be able to read an encoder.
It's to read without using interrupts?
Yes it is possible but using interrupts is simpler.
Is there a reason you do no wish to use interrupts?
Frederick
If you do not use interrupts, then the Arduino has to spend most of its time reading the encoder. Otherwise, you miss encoder movements.