Thank you for the responses. I now have a functioning routine and everything is working perfectly.
On to the next issue: how to display text on an LCD from a word or byte.
Thank you for the responses. I now have a functioning routine and everything is working perfectly.
On to the next issue: how to display text on an LCD from a word or byte.
Have you seen the LCDOUT command?
Dave
Always wear safety glasses while programming.
Yes sir I use it all the time.
I am trying to display a couple of different messages depending on the values of 2 variables.
This is exactly what I want to happen but I dont think you can store strings in variables like this. At least not in 2.60A.
If Latch = 0 then LATCH1 = "MO"
endif
IF LATCH = 1 then
LATCH1 = "MA"
endif
IF DIM = 0 then
DIM1 = "OFF"
endif
IF DIM = 1 then
DIM1 = "DIM 1"
endif
IF DIM = 2 then
DIM1 = "DIM 2"
endif
IF DIM = 3 then
DIM1 = "BOOST"
endif
LCDOUT $FE, 2 LATCH1, " ", DIM1
I cannot put all the combinations into if then loops which include the LCDOUT routine as it takes too long to run through the loop and the timer does not update on the display every second. It actually updates every 3 seconds.
Last edited by jmgelba; - 29th November 2012 at 13:50.
SELECT CASE
Might help you out.
Dave
Always wear safety glasses while programming.
Bookmarks