Author Topic: F_CPU  (Read 2757 times)

0 Members and 1 Guest are viewing this topic.

Offline pomprockerTopic starter

  • Supreme Robot
  • *****
  • Posts: 1,431
  • Helpful? 16
  • Sorry miss, I was giving myself an oil-job.
    • Nerdcore - Programming, Electronics, Mechanics
F_CPU
« 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 ???

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,704
  • Helpful? 173
    • Society of Robots
Re: F_CPU
« Reply #1 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.

Offline pomprockerTopic starter

  • Supreme Robot
  • *****
  • Posts: 1,431
  • Helpful? 16
  • Sorry miss, I was giving myself an oil-job.
    • Nerdcore - Programming, Electronics, Mechanics
Re: F_CPU
« Reply #2 on: August 22, 2008, 09:49:58 AM »
ok thanks for clearing that up  :)

 

SMF spam blocked by CleanTalk