Go Down

Topic: Swapping crystals? (Read 1 time) 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.

Grumpy_Mike

You need to change the boot loader as well.

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy