Timers in the MEGA2560

I am doing a project where the code got too large for the UNO, so I have to migrate to a MEGA 2560. I am familiar enough with the UNO timers, but I can't find any direct information that says the timers of the MEGA require exactly the same setup (especially prescaler factor) as in the UNO. In the UNO, I am using timer 0 as a 1 ms. clock. Will that setup give the same result for the MEGA timer 0? I would expect it would, but just being cautious.

Thanks in advance for any information.

John Doner

Yes.

Hi,

Maybe it will be useful for You this libraries Google Code Archive - Long-term storage for Google Code Project Hosting. support TCCR1, TCCR3, TCCR4, TCCR5 timers for Mega.