|
Re: Automatic counter-Encoder
If you want to avoid using interrupts, you could place Kevin Sevcik's code sample in Process_Data_From_Local_IO() within user_routines_fast(). It may give you more accurate readings if you really need that.
I've never had any issue with any mechanical switch generating spurious interrupts, but that has only been my experience. I find with higher quality components that becomes less an issue.
|