I've just bought the PICAXE LCD firmaware chip and got it working with a non picaxe LCD. The data sheet that came with the PICAXE firmware suggests this code:
serout 7,T2400,(254,1)
pause 30
serout 7,T2400,(254,128,“Top Line”
serout 7,T2400,(254,192,“Bottom Line”
pause 2000
loop:
let b1 = b1 + 1
pause 500
serout 7,T2400,(254,192,“Count = ”, #b1)
goto loop
BUT when I try to run this code I get a Syntax error message for the loop line - the error is "Loop without Do"
Any suggestions of how to get this code correct and possibly altered in the datasheet?
cheers
serout 7,T2400,(254,1)
pause 30
serout 7,T2400,(254,128,“Top Line”
serout 7,T2400,(254,192,“Bottom Line”
pause 2000
loop:
let b1 = b1 + 1
pause 500
serout 7,T2400,(254,192,“Count = ”, #b1)
goto loop
BUT when I try to run this code I get a Syntax error message for the loop line - the error is "Loop without Do"
Any suggestions of how to get this code correct and possibly altered in the datasheet?
cheers