First, 8.0.1.8 does appear to have a problem with hservo. Of course thats why it is beta.
As for 8.0.1.7 I just downloaded and installed a fresh copy of it and ran this program from above:
ENABLEHSERVO
main:
sound 9, [100\880, 100\988, 100\1046, 100\1175]
hservo [p0\0\0,p1\0\0,p2\0\0]
goto main
And it works as I expected. I have 1.5ms servo pulses on p0, p1 and p2 and I have frequecies on p9. I didn’t have a speaker so I looked at the sound out with my scope and it looks like it’s outoputing what I expected.
I also tried this program:
[code]ENABLEHSERVO
i var sword
main:
high p4
high p5
high p6
for i = -10000 to 10000 step 1000
low p4
hservo [p0\i\255]
toggle p6
pause 150
;hservowait [p0]
high p4
next
for i = 10000 to -10000 step -1000
low p5
hservo [p0\i\255]
toggle p6
pause 150
high p5
next
hservo [p0-16000\255]
low p4
low p5
low p6
pause 2000
goto main [/code]
I see a servo pulse on P0 that goes from -10k to 10k and back and then goes to -16k. I also see the toggling of p4, p5 and p6 as appripriate in your program. i’m not sure what you are trying to do but it all appears to be working as expected in 8.0.1.7
If you have 8.0.1.8 installed at the same time as 8.0.1.7 you may have problems. You should not install both at the same time because files from one will overwrite files from the otherone. I installed 8.0.1.7 clean(eg 8.0.1.8 was removed from my computer first) before I ran these programs you guys are having trouble with.