Page 1 of 1
$Chr(255)
Posted: February 26th, 2005, 4:08 pm
by cyberv
the HD44780 table states that a solid block is char 255.. but if i try it in LCD smartie i get two blocks.. What am i doing wrong?
Posted: February 26th, 2005, 4:39 pm
by clansley
There is no single HD44780 character table - so I guess 255 isn't a block character on yours.
You have two choices - find the block character (assuming you have one), but using Chr(1) Chr(2) etc
Define a full block character using $CustomChar(...
Posted: February 27th, 2005, 12:03 am
by cyberv
but if i use the block function under misc optins in LCD smartie the display displays a block.. ?
Posted: February 27th, 2005, 12:39 am
by clansley
Yep - Smartie uses a custom char.
Posted: February 27th, 2005, 12:25 pm
by cyberv
aha.. and its always definec so i dont need to redifene a custom char myself?