Go Down

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

Strumpfsocke

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

Korman

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.

Korman

Strumpfsocke

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

Go Up