Hi,
I would like to interface a rotary encoder. It has a digital A and B signal 90 degrees shifted in phase. To interface this encoder I would need to periodically read the two digital inputs and process the data.
Because of the possible turn speed I would need to do this at a rate of minimal 1000 times per second.
Can I define a periodical interrupt at that rate and being sure no interrupt will be missed?