Tray this it should help.


Code:
positive:
	While B0 <> XPRESET
	B0=B0+1
        PULSOUT SERVOY, B0
	PAUSE 20
	gosub servomove
	wend

goto main



negative:
	While B0<>xpreset
	B0=B0-1
        PULSOUT SERVOY, B0
	PAUSE 20
	gosub servomove
	wend

goto main
Al.