Quote by Merlin
You might want to take a look at my 'crude timers' with callbacks Crude timers. The code would need tweaking for your crystal, but the repetition would be very precise (not varying by much between successive callbacks). If you are using an oscillator accuracy would be poorer of course. Or maybe use OnSysTick?
Hello Merlin,
I take a look at your Crude Timers, thanks for the tip
Thorsten