Shop OBEX P1 Docs P2 Docs Learn Events
Send Indiv Chars to 2nd Line of 2x20LCD(uses HD44870 Ctlr) — Parallax Forums

Send Indiv Chars to 2nd Line of 2x20LCD(uses HD44870 Ctlr)

ArchiverArchiver Posts: 46,084
edited 2003-07-18 00:43 in General Discussion
Would someone be able help me with code to send indiv chars to the 2nd Line of a
parallel LCD Display
2x20 which uses the Hitache HD44870 Controller. I can send chars to the 1st
line, but am stumped in
how to send to 2nd line. Have been puzzling over "LCDDEMO2.BS2" code I
downloaded from Parallax
from stamptech@p..., but so far am getting nowhere fast. Thanks
much. Kindest regards,
Chuck Irwin, no2k_4

[noparse][[/noparse]Non-text portions of this message have been removed]

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2003-07-18 00:43
    I dont know if this helps with parallel, but,
    with serial displays, to send to the first character on line 1 you send
    254,128 with 254 putting it into command mode, and 128 being the location
    of character 1 line 1.

    to go to character 1, line to you send 254, 192 with 254 being command mode
    and 192 being character 1, line 2.

    Cheers,
    Chris
    Sunny West Oz

    Original Message
    From: "chuckirwin43" <chuckirwin43@n...>
    To: <basicstamps@yahoogroups.com>
    Sent: Friday, July 18, 2003 7:39 AM
    Subject: [noparse][[/noparse]basicstamps] Send Indiv Chars to 2nd Line of 2x20LCD(uses HD44870
    Ctlr)


    > Would someone be able help me with code to send indiv chars to the 2nd
    Line of a parallel LCD Display
    > 2x20 which uses the Hitache HD44870 Controller. I can send chars to the
    1st line, but am stumped in
    > how to send to 2nd line. Have been puzzling over "LCDDEMO2.BS2" code I
    downloaded from Parallax
    > from stamptech@p..., but so far am getting nowhere fast.
    Thanks much. Kindest regards,
    > Chuck Irwin, no2k_4
    >
    > [noparse][[/noparse]Non-text portions of this message have been removed]
    >
    >
    > To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    > from the same email address that you subscribed. Text in the Subject and
    Body of the message will be ignored.
    >
    >
    > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
    >
    >
    >
Sign In or Register to comment.