-
Although the Timer is not very accurate. I find it hard to believe that it is that inaccurate.
I assume you have the interval set at 1ms.
Your problem is probably that the code inside the timer routine takes longer than 1ms (maybe 33ms) to run therefore you are missing calls to the Timer routine.
You could use the Tick-Count API in a self looping routine. This maybe faster???
Steve.
-
What you may have to do is set a queue structure where information gets added to the queue every 1ms. Then write your code so that it is constantly striving to clear the queue. That may not help at all as it will still be slow, but it might.
-
THIS maybe the first post ever.