The attached program fastLCD.zip will help you with text, as well as graphics. It will let you create characters, and it will create hex for them.
![]()
The attached program fastLCD.zip will help you with text, as well as graphics. It will let you create characters, and it will create hex for them.
![]()
Nice program, but I use already Excel (bin2hex) for those big characters...Unfortunately, I need to understand the codes You and HJota propose and modify all my code; the procedures for define and display the characters are different...Per aspera ad astra...
I succeded to display "23.56" ! it's a step, don't ?!
Now, assuming that I succed to write the code for reading DS18B20, how display temperature instead "23.56" ?
It's correct so : " lookup i, [temperature DIG 3, temperature DIG 2, temperature DIG 1], j" or how ? Thanks !
How about changing from this:
to something like this:Code:for i=0 to 4 lookup i,["23.56"],j lcdstr(i)=j next i
You would have to do something when your temperature goes to single digits though.Code:lcdstr(4) = 48 + temperature dig 3 lcdstr(3) = 48 + temperature dig 2 lcdstr(2) = "." lcdstr(1) = 48 + temperature dig 1 lcdstr(0) = 48 + temperature dig 0
What I put here ?
Code:lcdstr(4) = 48 + temperature dig 3 lcdstr(3) = 48 + temperature dig 2 lcdstr(2) = "." lcdstr(1) = 48 + temperature dig 1 lcdstr(0) = 48 + temperature dig 0 Tc=2 for i=0 to 4 lookup i,["??????"],j lcdstr(i)=j next i nC=5
like in picture attached. The code works great, with one DS18B20; next project is, of course, termo with two zone, with thermostat, with clock, etc.,....
THANK YOU ALL !
Bookmarks