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.