hello can enybody help me with a servo code in bascom
the axemple code dos'nt work of some reson. :(
servo with a atmega8515
Please consider what you have told us. How could we possibly help you without knowing more?
i have tryd the axemple code with my stk 500 with the servo connected to portb,7 the power is from the stk500.
is it possible that stk500 can't deliver enough
to the servo (MG995 towerpro) or is it maybe
a servo malfunktion.
We still need more information. What does it do? Does the servo not move the way that you expect it to? Does it work for a while then go haywire? Does it not even budge?
Without knowing what is happening ( code would be good too ) we can't really do anything but guess at what the problem is.
Martin Jay McKee
it moves in small steps (0,5 mm) and when it commes to end point it tryes to continou.
and for the current time i don't have access to my computer so i will put the code up tommorow.
and it's no error on the servo i tryed one of my other MG995 Same thing ther :( .
so i have two possible errors.
# 1 STK500 can't deliver enough power.
# 2 a code error.
#2 a code error in.
Yup line 47 there looks awfully suspicious.
i removed that line.
[edit]stupid me that is a part off the config code: oops: