I'm trying to troubleshoot some code w/ a rotary encoder. If I spin the encoder too fast, something is causing the CPU to reset. So I disabled the interrupt at the beginning of the routine, and re-enabled it at the end of the routine, but then it resets AFTER the routine. Is there any 'clear' or 'overrun' buffer that needs to be cleared besides disabling the interrupt itself? Thought I remembered reading about something like that, but can't find it now.
Bookmarks