Pages: [1]   Go Down
Author Topic: Swapping crystals?  (Read 973 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Sr. Member
****
Karma: 0
Posts: 297
Arduino rocks!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I need a uno-ish broad running @ 20MHz to run at 16MHz.

Would changing this in Boards.txt work?

Code:
##############################################################

orangutan328p.name=Pololu 3pi robot w/ ATmega328p via Programmer
orangutan328p.upload.using=avrispv2
orangutan328p.upload.maximum_size=32768
orangutan328p.build.mcu=atmega328p
orangutan328p.build.f_cpu=20000000L
orangutan328p.build.core=arduino


to this?

Code:
##############################################################

orangutan328p.name=Pololu 3pi robot w/ ATmega328p via Programmer
orangutan328p.upload.using=avrispv2
orangutan328p.upload.maximum_size=32768
orangutan328p.build.mcu=atmega328p
orangutan328p.build.f_cpu=16000000L   // <<<< edited here
orangutan328p.build.core=arduino

Logged

As always... Thanks for posting!!!

Grand Blanc, MI, USA
Offline Offline
Faraday Member
**
Karma: 95
Posts: 4089
CODE is a mass noun and should not be used in the plural or with an indefinite article.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Assuming the crystal is changed to match, yes.
« Last Edit: October 03, 2011, 06:34:44 pm by Jack Christensen » Logged

MCP79411/12 RTC ... "One Million Ohms" ATtiny kit ... available at http://www.tindie.com/stores/JChristensen/

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 633
Posts: 34517
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

You need to change the boot loader as well.
Logged

Pages: [1]   Go Up
Jump to: