Kurte,
I was able to get it working by using button and servopos. hservoidle wont work for me because the servos never become idle, they are always moving except at the pause in the beginning. Below is what I came up with.
Code:
count1 var byte
delay var byte
rate var byte
delay = 80
rate = 40
enablehservo2
enablehserial
sethserial h9600,h8databits,hnoparity,h1stopbits
main
hservo [p8\0,p9\0]
pause 2000
hservo [p8\16000\150,p9\16000\150]
while(hservopos(p8)<>16000)
button P19,1,delay,rate,count1,1,indistop
wend
hservo [p8\0\150,p9\0\150]
while(hservopos(p8)<>0)
button P19,1,delay,rate,count1,1,indistop
wend
hservo [p8\-16000\150,p9\-16000\150]
while(hservopos(p8)<>-16000)
button P19,1,delay,rate,count1,1,indistop
wend
hservo [p8\0\150,p9\0\150]
while(hservopos(p8)<>0)
button P19,1,delay,rate,count1,1,indistop
wend
hserout ["no button pressed",13,13]
goto main
indistop
hservo [p8\0\250,p9\0\250]
hserout ["button pressed",13,13]