Forum Discussion
DBarn22
New Contributor
4 years agoAddendum:
Previously it only started to fail when I ran the motor (i.e. ~100000 interrupts per second). It was now failing immediately. This was due to me editing out code to find the error and I had edited out the line that cleared the interrupt. (Now fixed that).
Without the motor running, it now fails after some thousands of interrupts (over many seconds - I am turning the rotor by hand).