Hi! I have a problem reading the absolute position of my encoder. Im using the HEDS 5500.
It worked before perfectly but I had to replace my arduino and the code got lost, now I can't manage to figure out how to get it to work again and after searching the whole night I still didn't find any usable code online. All what I found where for incremental readings.
The encoder does 1024 pulses per revolution and I simply want that it starts again to count from 1 when it completed a full turn (counter reached 1024) and other way around to go up to 1024 when the counter reaches 1.
I tried a lot with if conditions but these seem not to work for encoders.
I would be very thankful for any kind of help!