Society of Robots - Robot Forum

Software => Software => Topic started by: pomprocker on August 15, 2008, 10:43:08 PM

Title: F_CPU
Post by: pomprocker on August 15, 2008, 10:43:08 PM
Why is all the $50 robot code for 1MHz set to

F_CPU = 3686400 ???

Isnt that nearly 4MHz?

Shouldn't it be:

F_CPU =  1000000 ???
Title: Re: F_CPU
Post by: Admin on August 22, 2008, 09:12:48 AM
lol hmmmmmm good question!

I think it was one of those 'the code is working so no need to debug' scenarios . . . Yeap, it should be 1000000.
Title: Re: F_CPU
Post by: pomprocker on August 22, 2008, 09:49:58 AM
ok thanks for clearing that up  :)