If i type SOUND 2,800,50,,,,3 it makes 1 second of noise.
However if i use it in a programm i have the following problem :
100 SOUND 2,800,50,,,,3 : REM start noise flameshot
...
...
200 IF H=1 THEN SOUND 2,0,0 : REM stop noise if something is hit.
When i powercycle my M65 and start the programm line 100 does nothing the first few calls.
All other SOUND commands work first call. (other wavweforms)
IF i END and restart the programm it works at first call as long i don´t powercycle.
What i am doing wrong ?
Do i have to init the noise generator ?