So I need to implement a 1 ms systick on a 16mhz atmega164, it has 2 8 bit timers and one 16.
My kneejerk reaction is to run the 16bit time OCR and increment systick in the IRQ.
( Yes I understand atomic access and IRQ's )
I see the arduino uses the 8 bit timer0 w a /64 prescale and overflow at 256
but thats 976ms.... o.O
I suppose they are trying to save timer1 for applications?
I normally use Pic's and Arms that have more 16 bit timers
Anyway, is there a consensus on ticking in the atmega world?
Keith, new to Atmga, not new to 8 bit