Comment #3 on issue 138 by robhamerling: request for custom char on lcd
display
http://code.google.com/p/jallib/issues/detail?id=138
Wrong limitation: 'len' would become 0 when str is 8 bytes!!
The procedure better be like below!
procedure lcd_define(byte in pos, byte in str[]) is
_lcd_write_command(LCD_SET_CGRAM_ADDRESS | ((pos & 0x07) << 3 ))
var byte len = byte(count(str))
if len > 8 then
len = 8
end if
var byte i
for len using i loop
_lcd_write_data(str[i])
end loop
end procedure
--
You received this message because you are subscribed to the Google Groups
"jallib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/jallib?hl=en.