johnnewyork
New Member
Hi Guys, I have a problem with the new simulator 6.0.6.3 (BETA), maybe you could help me. I recently installed the new PE 6 tools. I love the new interface and features, it is very easy to use. I really like the changes and new features.
For fun I loaded an older working project and tried the simulate feature. I am having problem with the ASCII and RAW serial inputs.
I get the message "ERROR - unknown command in Simulate.ProcessNextLine - case_1". This code runs fine on the 20M2 Picaxe once downloaded.
input string ASCII: $I1 or RAW: "$","L","1" the simulator crashes at either CASE statement shown below.
The first token is parsed but when the second is attempted. Thank you for your help, its probably something stupid on my part.
I tried: PICAXE-20M2, PICAXE-08M2
For fun I loaded an older working project and tried the simulate feature. I am having problem with the ASCII and RAW serial inputs.
I get the message "ERROR - unknown command in Simulate.ProcessNextLine - case_1". This code runs fine on the 20M2 Picaxe once downloaded.
input string ASCII: $I1 or RAW: "$","L","1" the simulator crashes at either CASE statement shown below.
The first token is parsed but when the second is attempted. Thank you for your help, its probably something stupid on my part.
I tried: PICAXE-20M2, PICAXE-08M2
Code:
sertxd ("Picaxe online", cr,lf)
top:
serrxd b0,b1,b2 ' example: input "$l2" include "" for simulator
if b0 = "$" then
{
'parse the token:B1
select b1
case "I" , "i"
sertxd ("I: ", b2, cr,lf)
case "L","l"
sertxd ("L: ", b2, cr,lf)
endselect
}
endif
goto top