Hooray ! PWMPAL fixed !
hitsware
Posts: 156
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......
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
http://forums.parallax.com/showthread.php?p=647131
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support