Pages: [1]   Go Down
Author Topic: Timer2 prescaler to 64?  (Read 699 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 7
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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...
Logged

"The old Europe"
Offline Offline
Edison Member
*
Karma: 1
Posts: 2005
Bootloaders suck!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Have a look at 'wiring.c' !
Logged

• 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!

Pages: [1]   Go Up
Jump to: