Go Down

Topic: Swapping crystals? (Read 996 times) previous topic - next topic

TECH GEEK

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

Would changing this in Boards.txt work?

Code: [Select]

##############################################################

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: [Select]

##############################################################

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

As always... Thanks for posting!!!

Jack Christensen

#1
Oct 04, 2011, 01:32 am Last Edit: Oct 04, 2011, 01:34 am by Jack Christensen Reason: 1
Assuming the crystal is changed to match, yes.
MCP79411/12 RTC ... "One Million Ohms" ATtiny kit ... available at http://www.tindie.com/stores/JChristensen/

Grumpy_Mike

You need to change the boot loader as well.

Go Up