Quote Originally Posted by burak450 View Post

but sometimes when i turned power on ,servo turned full left sometimes didnt.I think my servos are crazy .BTW I connected a capacitor.

I have an idea.Can this error(full left error) occur because of my code that i wrote.too many PAUSEUS may make this error.Should I try DUTYCYLE or PWM codes???

Or Is there any power problem???

Always Place a:

LOW PORTx.y

just before the PULSIN command ...

That's all !

Alain