#39 LIS driver pixel row missing

trivial/cosmetic
closed-fixed
driver (15)
5
2011-12-30
2011-12-27
No

When using the LIS driver, each character is 5x7 pixels, but the screen supports 5x8. When looking at the lis.h file it appears that it is configured to 5x8 but it doesn't work. Special characters also don't use the 8th row.

Discussion

  • Markus Dolze

    Markus Dolze - 2011-12-28

    That's true. The VFD controller (NEC uPD16314) uses a 5x8 matrix driving the pixels. However, most characters from its ROM make only use of 7 rows. This cannot be changed by software. We can make use of all 8 rows when using custom characters (of which 7 seem to be supported by that display). The driver does make use of custom characters when drawing bar graphs (horizontal or vertical) and big numbers. I am very curious how these look like on that display. Can you take some pictures of the 'M' 'G' and 'K' screens?

     
  • Markus Dolze

    Markus Dolze - 2011-12-28
    • assigned_to: nobody --> mmdolze
     
  • Peter Schmidt

    Peter Schmidt - 2011-12-29

    Well, I don't think it is software because when I connect the screen to my arduino microcontroller, I can use all 8 rows, in both text and custom characters.

    What actually got me to notice this problem was the vertical bars don't go all the way down, so even custom characters are not using the 8th row, and that's why I'm reporting this.

    Sorry to sound stupid but I'm not sure what the M, G, or K screens are. I just created a python script that makes it show whatever I want - I didn't really look into most of the other features.

     
  • Peter Schmidt

    Peter Schmidt - 2011-12-29

    Oh and 1 more thing (sorry about double-posting), LCD Smartie in Windows uses all 8 rows for both text and custom characters.

     
  • Markus Dolze

    Markus Dolze - 2011-12-29

    Regarding LCD Smartie please read http://www.lcdproc.org/faq.php3.

    'Screens' refer to screens displayed by the lcdproc client. You would run it like this: "lcdproc -f M G K".

    I do see some strange code regarding custom characters. Again, some pictures would be very helpful. If you have your own test scripts, even better.

     
  • Peter Schmidt

    Peter Schmidt - 2011-12-29

    I'll report as soon as I can when I get home this weekend. But in the meantime, if this helps, the way I can describe it is the fonts are just simply shrunken. Nothing is cut off, they're just smaller. Nothing is drawn incorrectly, Any custom characters just simply don't draw in the 8th row but they look fine otherwise. I hope this is enough info to work off of for now, sorry about the delay.

     
  • Markus Dolze

    Markus Dolze - 2011-12-30
    • status: open --> closed-fixed
     
  • Markus Dolze

    Markus Dolze - 2011-12-30

    Fixed in CVS. The last line is now addressable (and enabled by default) for custom characters.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks