Retypesnikrep, what are you wanting to display? Is there constants like "Temperature is " along with variables like "TempC VAR BYTE"? I've used the HD44780 based LCD for several projects. A display line would look like:
Here I use ARRAYWRITE to extract the individual digits of my pressure value LPsi into ARRAY LPsiA in ASCii format.Code:ARRAYWRITE LPsiA, [#LPsi] for b0 = 0 to 13 LOOKUP b0,["Low PSI Set = "],b1 PORTB = b1 gosub Send next b0 if LPsi < 10 then LPsiA[1] = LPsiA[0] LPsiA[0] = " " endif PORTB = LPsiA[0] gosub Send PORTB = LPsiA[1] gosub Send
I use LOOKUP to extract individual characters from the string "Low PSI Set = ".




Bookmarks