Hi Eriswerks,
Try using another servo or at least make sure that your servo is ok.
Also, as you know, for most of the servos, the pulse range is from 100mS to 200mS.
For some recent ones, range is from 60mS to 240mS (wider movement).
Also, below is a code to consider while playing with servos.
servo var portc.5
freq var byte
pulse var byte
loop:
pot portc.3,255,pulse
pot portc.4,255,freq
if pulse>240 then pulse=240 'Max pulse protection.
If pulse<60 then pulse=60 'Min pulse protection
If freq>30 then freq=30 'Frequency protection
IF freq<5 then freq=5 'Frequency protection
pulsout servo,pulse
pause freq
goto loop
-----------------------
If you also use an LCD, you can see at what value(s) your servo does what it does and how it does.
------------------------------
"If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte
Bookmarks