BS1 Code to BS2
ajajack
Posts: 26
I need help converting this BS1 Code to BS2:
symbol dat = b2
symbol synch = b3
symbol junk = b4
synch = "A"
junk = 126
start:
pause 1000
for dat = 1 to 255
· serout 0,N2400,(junk,synch,dat)
· pause 50
next
· serout 0,N2400,(junk,synch,0)
· goto start
symbol dat = b2
symbol synch = b3
symbol junk = b4
synch = "A"
junk = 126
start:
pause 1000
for dat = 1 to 255
· serout 0,N2400,(junk,synch,dat)
· pause 50
next
· serout 0,N2400,(junk,synch,0)
· goto start
Comments
sync con "A" ' not sure on this
dat var byte
start:
pause 1000
for dat = 1 to 255
serout 0,N2400,(junk,synch,dat)
pause 50
next
serout 0,N2400,(junk,synch,0)
goto start
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen
serout 0,N2400,(junk,synch,0)
is wrtitten as
serout 0,16780,[noparse]/noparse][/b]junk,synch,0[b
on a BS2
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Have Fun
TR
Post Edited (TechnoRobbo) : 9/10/2007 11:00:27 AM GMT