No problem Mike. I have to admit that I was a little touchy.
Yes, the idea was to read a mechanical rotary encoder with detents. Sure is better to buffer the port states and then do the processing.
Even better, use interrups to grab the port change and then do whatever you want. More, make a debounce based on interrupts since mechanical switch of the encoder do bounce a little. But this is for more advanced programmers. Maybe later when my related project allows.
Ioannis




Bookmarks