Hi,
It is possible that your interrupts are too long and crash more often
when you do it at 10ms...
You can measure your interrupt time using a timer (without interrupt)
and look how many step you have at the beginning and at the end (just
reading the timer value).
The advance one timer is
Hi,
There is probably problems with the priority of the interrupts. If you
use the normal library (that you modifiy for using timer 2 and 3) for
the motor it will not work. Use the advance one timer, it should be
better. You can also try to remove the shadow option of all iterrups
that are