I am trying a simple random code for the Vmusic and cant ge ti to play sounds, the serial line in the program has an error that I can see I think -
setfreq m8
pause 1000
main:
random w0
w1 = w0 // 18 + 1
serout 4,n9600_8,("vpf ",w1,".mp3",CR)
wait 4
goto main
Can anyone tell me what I am doing wrong?
Note - the N is because I am using the ULN chip and needs an "N" instead of "T".
Also is a resistor needed on the serialout line if the ULN chip is used and what size.
Thanks
setfreq m8
pause 1000
main:
random w0
w1 = w0 // 18 + 1
serout 4,n9600_8,("vpf ",w1,".mp3",CR)
wait 4
goto main
Can anyone tell me what I am doing wrong?
Note - the N is because I am using the ULN chip and needs an "N" instead of "T".
Also is a resistor needed on the serialout line if the ULN chip is used and what size.
Thanks
Last edited: