Loading...
Pages: [1]   Go Down
Author Topic: Swapping crystals?  (Read 745 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Sr. Member
****
Karma: 0
Posts: 289
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
Online Online
Faraday Member
**
Karma: 47
Posts: 2575
"We're a proud service of the Lost Electricity Reclamation Agency"
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

Get the infamous "One Million Ohms" board at tINDIE.com: http://tinyurl.com/BuyMohms

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 299
Posts: 26031
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
Print
 
Jump to: