Author Topic: 50$ robot upgrade  (Read 2818 times)

0 Members and 1 Guest are viewing this topic.

Offline gamefreakTopic starter

  • Supreme Robot
  • *****
  • Posts: 543
  • Helpful? 2
  • Robo-Enthusiast
50$ robot upgrade
« on: January 26, 2008, 03:13:38 PM »
I notice in the code of SoR_utils, the timer line is commented, but there are no directions to uncomment it, Im not familiar with atmega, but wouldnt a commented line make the line useless?
All hail Rodney, the holy 555 timer
And Steve said: "Let there be lead!"

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,703
  • Helpful? 173
    • Society of Robots
Re: 50$ robot upgrade
« Reply #1 on: January 26, 2008, 04:12:07 PM »
The $50 Robot never used the timer . . .

If you want to use it, uncomment it in SoR_utils, and also in the makefile you will see it.

Refer to the AVRlib timer.h documentation to learn how to use it.

Parts of my code wasn't written properly to use the timer. I recommend doing the UART tutorial to make the proper changes:
http://www.societyofrobots.com/microcontroller_uart_50_robot.shtml

You don't need to hook it up to your computer, but at least have the software end set up properly for it.

 


data_list