I have been having trouble understanding the timer maths. I would like the timer to count in milliseconds at 8 MHz.
At 8Mhz a minor tick takes 32us so 1ms would need 1000/31 or 31,25 mnor ticks. So compromising on 31 ticks should give 0.992 ms which is good enough. So the preload value should...