buntay
Senior Member
Greetings Picaxe Collective,
Can somebody tell me why this isnt working and what I need to do to fix it
This is part of a much bigger program that I would rather not post, but the rest of it works fine.
When you run in simulator sending "datain",2 does not do what it is supposed to. Can somebody explain why?
Buntay
Can somebody tell me why this isnt working and what I need to do to fix it
Code:
'REM 28X2 @ 8Mhz
sertxd ("Confirm Reset")
main:
goto dataout
shutdown:
high b.2
high b.0
pause 60000
low b.0
low b.2
dataout:
sertxd ("data ",b12,cr,lf)
serrxd [1000],("datain"),b12
if b12=1 then reset
if b12=2 then goto shutdown
goto shutdown
endif
goto main
When you run in simulator sending "datain",2 does not do what it is supposed to. Can somebody explain why?
Buntay