go_away

Author Topic: 50$ robot upgrade  (Read 1568 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,586
  • Helpful? 169
    • 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.

 

Related Topics

  Subject / Started by Replies Last post
4 Replies
1075 Views
Last post March 13, 2010, 08:41:31 PM
by cooldog
1 Replies
740 Views
Last post June 28, 2010, 02:31:56 PM
by SmAsH
1 Replies
1020 Views
Last post December 02, 2010, 10:33:57 AM
by Crunchy Theory
1 Replies
493 Views
Last post April 28, 2011, 03:47:57 PM
by knossos


Get Your Ad Here