Go Down

Topic: Timer2 prescaler to 64? (Read 1 time) previous topic - next topic


I've been trying to read into the Arduino Timer 0, Timer 1 and Timer 2 setup, but cannot seem to get my head around it, so trying to understand how it works.

I'm using a library which uses Timer 2. The library assumes that Timer 2 is set to prescaler 64.

I've got an Arduino UNO with ATmega328 running IDE 022.

  • Is Timer 2 standard set to prescaler 64?

  • If not, how do I set Timer 2 to prescaler 64?

Thanks for the help...


Have a look at 'wiring.c' !
• Upload doesn't work? Do a loop-back test.
• There's absolutely NO excuse for not having an ISP!
• Your AVR needs a brain surgery? Use the online FUSE calculator.
My projects: RGB LED matrix, RGB LED ring, various ATtiny gadgets...
• Microsoft is not the answer. It is the question, and the answer is NO!

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