Shop OBEX P1 Docs P2 Docs Learn Events
LCD programming — Parallax Forums

LCD programming

ArchiverArchiver Posts: 46,084
edited 2004-05-24 20:00 in General Discussion
Hello,

I have a Matrix Orvital LCD and a basic stamp2 and I was wondering if
anyone knew how to sent it the built in commands such as "Backlight off"
e.c.t. Or what the command prefix is for the Basic Stamp 2

Thanks,
Jim
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2000-07-13 17:10
    Hello Jim,

    I believe the code you are looking for is available on our homepage.

    http://www.hvwtech.com/software.htm

    The code has been written for the LCD-2041 from Matrix Orbital
    however it should work if you are using one of the other displays.

    I hope this helps.



    On 13 Jul 2000, at 1:58, Jim H wrote:

    > Hello,
    >
    > I have a Matrix Orvital LCD and a basic stamp2 and I was wondering if
    > anyone knew how to sent it the built in commands such as "Backlight off"
    > e.c.t. Or what the command prefix is for the Basic Stamp 2
    >
    > Thanks,
    > Jim
    > ________________________________________________________________________
    > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
    >
    >
    >
    >
    >
    >


    Dan Henne
    Sales
    HVW Technologies Inc.
    Dan@H...
    Tel[noparse]:([/noparse]403)730-8603 Fax[noparse]:([/noparse]403)730-8903
    Visit our web site: http://www.hvwtech.com
  • ArchiverArchiver Posts: 46,084
    edited 2004-05-24 10:01
    I have a 1 x 16 LCD which I write to from the keyboard.

    serstring var byte(16)

    Since the keyboard entry is almost never exactly 16 bytes I write:

    serin 16, baud, [noparse][[/noparse]STR serstring\16\"/"]

    and I terminate my keyboard entry with a " / ", which works just fine.
    However, I would like to terminate the keyboard entry by pressing Enter.
    Does anyone know how I can accomplish this?

    Sid


    [noparse][[/noparse]Non-text portions of this message have been removed]
  • ArchiverArchiver Posts: 46,084
    edited 2004-05-24 20:00
    not sure. have you tried back-slashed characters or ESC char which are the
    equivilent of return? use char like "/n" "/[noparse][[/noparse]013"
    have never tried it but this trick works in C programming

    Daryl


    Quoting Newzed@a...:

    > I have a 1 x 16 LCD which I write to from the keyboard.
    >
    > serstring var byte(16)
    >
    > Since the keyboard entry is almost never exactly 16 bytes I write:
    >
    > serin 16, baud, [noparse][[/noparse]STR serstring\16\"/"]
    >
    > and I terminate my keyboard entry with a " / ", which works just fine.
    >
    > However, I would like to terminate the keyboard entry by pressing
    > Enter.
    > Does anyone know how I can accomplish this?
    >
    > Sid
    >
    >
    > [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.
    >
    > Yahoo! Groups Links
    >
    >
    >
    >
    >
    >
Sign In or Register to comment.