Hi guys,

I see a difference in the handling of LCDs with more than 2 lines.
The refactured lib contains:

>  case line of
>     0: return 0x00
>     1: return 0x40
>     2: return 0x14
>     3: return 0x54
>  end case

while the current version contains

> col = col | 0b1000_0000
> case row of
>    1: col = col + 0x40
>    2: col = col        + LCD_CHARS
>    3: col = col + 0x40 + LCD_CHARS
> end case

Are we sure all 4-line displays use an offset of decimal 20, even the 4 
x 16 displays?  I have here a 4 x 20 lcd, but no 4 x 16 display, so I 
cannot test.

Regards, Rob.



-- 
Rob Hamerling, Vianen, NL (http://www.robh.nl/)

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to