Gramps
Senior Member
This little code example was the result of using the Picaxe Editor's flowchart to Basic converter.
The "Cells" appear to be a unit containing the "if" statement.
My question is, what would this look like if it was simply coded in Basic?
Thanks ,Gramps
main:
Cell_7_3:
high B.7
if pinC.0=1 then
goto Cell_7_5
end if
goto Cell_7_3
Cell_7_5:
pause 500
low B.7
Cell_7_7:
high B.6
if pinC.0=1 then
goto Cell_7_9
end if
goto Cell_7_7
Cell_7_9:
pause 500
low B.6
goto Cell_7_3:
The "Cells" appear to be a unit containing the "if" statement.
My question is, what would this look like if it was simply coded in Basic?
Thanks ,Gramps
main:
Cell_7_3:
high B.7
if pinC.0=1 then
goto Cell_7_5
end if
goto Cell_7_3
Cell_7_5:
pause 500
low B.7
Cell_7_7:
high B.6
if pinC.0=1 then
goto Cell_7_9
end if
goto Cell_7_7
Cell_7_9:
pause 500
low B.6
goto Cell_7_3: