Hi,
Curious problem with a missing variable that I am displaying on an OLED. It displays fine first and then the picaxe is put in to sleep for some time, then woken up and the same variable is sent to the OLED as an ASCII again but this time does not display, and never displays untill a reset.
here is the logic:
perform some maths and store the value in b0
serout B.7, N2400, ("the value is", #B0)
sleep 10
perform the same maths and store in b0
serout B.7, N2400, ("the value now is", #B0)
and this is where the OLED displays " the value now is " and the value is missing, and does not display no matter how many times i re-apply the serout command
what could cause this?
Regards Jon
Curious problem with a missing variable that I am displaying on an OLED. It displays fine first and then the picaxe is put in to sleep for some time, then woken up and the same variable is sent to the OLED as an ASCII again but this time does not display, and never displays untill a reset.
here is the logic:
perform some maths and store the value in b0
serout B.7, N2400, ("the value is", #B0)
sleep 10
perform the same maths and store in b0
serout B.7, N2400, ("the value now is", #B0)
and this is where the OLED displays " the value now is " and the value is missing, and does not display no matter how many times i re-apply the serout command
what could cause this?
Regards Jon