Another PWMPAL question .....
hitsware
Posts: 156
When I shut off my PC the freqout continues to play,
but the PWMPAL shuts down ?
Can I make the whole thing continue so I can take
the stamp to another location and record the output ?
serout 0,6,[noparse][[/noparse]"!PWMSS",255]
serout 0,6,[noparse][[/noparse]"!PMMSP",240]
serout 0,6,[noparse][[/noparse]"!PWMM1",100,0,100,0]
x var byte
play
for x=0 to 300
freqout 1,9,1200
next
goto play
but the PWMPAL shuts down ?
Can I make the whole thing continue so I can take
the stamp to another location and record the output ?
serout 0,6,[noparse][[/noparse]"!PWMSS",255]
serout 0,6,[noparse][[/noparse]"!PMMSP",240]
serout 0,6,[noparse][[/noparse]"!PWMM1",100,0,100,0]
x var byte
play
for x=0 to 300
freqout 1,9,1200
next
goto play
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
>Once the PWMPAL receives a command it continues executing that pulse output until power is removed or it is told to stop or do something else by the host controller.
If I have a loop going (FREQOUT and PWMPAL summed for output) ....
When I turn off the PC only the FREQOUT output keeps running.
And again when I power up the stamp the FREQOUT part plays but the PWMPAL
is quiet until I power up the PC and do 'alt' 'r' (run) .....
Is the PWMPAL more dependent on the PC than the stamp itself ?
Do the PWMPAL commands not go to the Eeprom ?
Thank You.
When I turn off the PC the PWMPAL quits.
(and the FREQOUT continues)
BUT ...
If I do a reset the PWMPAL comes back on.
So there is something a little differant with
the PWMPAL than the FREQOUT, but that's OK.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support