Pages: [1]   Go Down
Author Topic: ATmega168 + 20 MHz crystal, timing issues?  (Read 369 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 17
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hey guys, I just wanted to know if I loaded a program onto the ATmega168 and then put it standalone on a breadboard with a 20 MHz crystal, will I run into timing issues? In other words, will delayMicroseconds(100) still delay for exactly 100 microseconds?
Logged

Brisbane, Australia
Offline Offline
God Member
*****
Karma: 1
Posts: 593
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Some things will be off. I forget which functions are affected.
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 17
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Okay, so I found what's different, http://www.arduino.cc/en/Hacking/OtherHardware

Can someone explain how they're different though? Will delayMicroseconds simply be off by a multiplier? How does analogRead behave differently? If I have to recompile the bootloader does that mean I have to get a programmer?
Logged

Pages: [1]   Go Up
Jump to: