Author Topic: Cant program correctly using AVRISP II  (Read 4291 times)

0 Members and 1 Guest are viewing this topic.

Offline harisankarsaTopic starter

  • Jr. Member
  • **
  • Posts: 23
  • Helpful? 0
Cant program correctly using AVRISP II
« on: September 28, 2008, 07:39:33 PM »
Being a novice, i modify the code of Photovore given here to make my bot do new things. I just change the contents of the while loop in the main file. But lately this isnt working. My modified and unmodified servos are all rotating only in one direction. When i tried the original code, the same problem still happened. I am using ATmega8. Wht cud be cause for this? I wud also like to know how to control the servo using 'servo.c' given in avrlib. If you have any turorials on it, pls forward. I cant understand it from the example given alongwith it.

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,704
  • Helpful? 173
    • Society of Robots
Re: Cant program correctly using AVRISP II
« Reply #1 on: October 07, 2008, 11:07:34 PM »
Did you change the clock speed of your AVR? Did this just suddenly start happening, or was it gradual?

As for avrlib, servo.h has some basic explanations. Helps any?

 

SMF spam blocked by CleanTalk