Go Down

Topic: Timer Used (Read 705 times) previous topic - next topic


Hey guys,

I have a question. I want to mix normal avr-gcc code with arduino.
I am using the timer one 16 bit in CTC Mode on Pin 26 on the atmega1280.

Which timer is used by delay() or millis() and can I still use them when using the settings mentioned above?

Greetz, Mic


The 8-bit Timer0 is used on the Duemilanove for millis() and delay(). I didn't see any special code for the mega so it should be the same for both.



Thank you! I will try playing with my arduino. Hope it works!

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131