Shop OBEX P1 Docs P2 Docs Learn Events
Hooray ! PWMPAL fixed ! — Parallax Forums

Hooray ! PWMPAL fixed !

hitswarehitsware Posts: 156
edited 2007-04-26 00:03 in BASIC Stamp
x var word
d1 var byte
d2 var byte
d3 var byte
d4 var byte
serout 0,6,[noparse][[/noparse]"!PWMSS",255]
serout 0,6,[noparse][[/noparse]"!PWMSP",240] ' this fixed it!
test
for x=255 to 256
debug cls
debug dec ? x
d1=x//256
d2=x/256
serout 0,6,[noparse][[/noparse]"!PWMM1",d1,d2,d1,d2]
pause 5000
next
goto test
' Though I have no clue as to how.
' Next up......Taming the FREQOUT pop......

Comments

Sign In or Register to comment.