Menu

#2 LCD display doesn't work correctly

v1.2
open
nobody
Library (1)
5
2004-05-24
2004-05-24
No

There's a bug in the LCD display code which causes it
to function incorrectly in some circumstances (display
only the first character of a message, for example).
Since I don't have access to a handyboard at the
moment, this isn't going to get fixed by me.

Of course, patches are always appreciated ;-)

Discussion

  • Keith Dunwoody

    Keith Dunwoody - 2004-05-24
    • labels: --> Library
    • milestone: --> v1.2
     
  • M.H.

    M.H. - 2006-09-04

    Logged In: YES
    user_id=1261581

    Hello,

    I fixed most of the glitches (display only displaying first
    character) by changing the two ">" operators in lib/
    lcdmain.c:lcd_setpos() to ">=" operators ^^

    (by the way, I'm thinking about forking this lib, or
    continueing if you're no longer in touch with the topic)

    Regards,
    Milan
    (curious whether / when he gets a response ;) )

     
  • Jim Peterson

    Jim Peterson - 2006-09-30

    Logged In: YES
    user_id=1176716

    FWIW there is a similar problem in lcd_puts(). The
    comparisions for maxx and maxy need to be <= instead of <.
    the problems noted where failure to wrap for the first line
    to the second sometimes and dropping one character when
    wrapping lines at other times.
    Jim

     
  • M.H.

    M.H. - 2006-10-08

    Logged In: YES
    user_id=1261581

    Thanks. I think we will discuss the details directly by
    mail.

    Regards,
    Milan

     

Log in to post a comment.