Shop OBEX P1 Docs P2 Docs Learn Events
Displaying data on an LCD — Parallax Forums

Displaying data on an LCD

ArchiverArchiver Posts: 46,084
edited 2003-05-22 07:40 in General Discussion
This is probably an easy one, but since I am new to stamps it is
difficult for me.

I am trying to display data that my program calculates to a 4x20
LCD. For example, if my program runs through some calculations and
returns a number such as 5.158, how can I get this number to display
on the LCD? I have found several examples that show how to display
text to the display, but none that show how to send data that is
calculated to the display.

Can someone please explain to me how to do this (bearing in mind I do
not have a ton of experience with stamps).

Or could someone please send me some code that would show me how to
do this.

Thanks

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2003-05-22 07:40
    Hi there,

    Is your Display a parallel interface or serial interface?

    I have examples on my web site for how to control HD44780
    based LCD's, and Matrix Orbital serial LCDs.

    Also, what type of stamp are you using? My examples all use a
    BS2 - therefore you have to "Bit Bash" a solution - rather than
    using the BS2p's built in LCD and I2C commands, etc.

    Get in touch with me off list if you want:
    ben.lennard@p...

    Cheers,

    Lenny,

    Wellington, New Zrealand.

    --- In basicstamps@yahoogroups.com, "skenny17"
    <skenny17@y...> wrote:
    >
    > This is probably an easy one, but since I am new to stamps it
    is
    > difficult for me.
    >
    > I am trying to display data that my program calculates to a 4x20
    > LCD. For example, if my program runs through some
    calculations and
    > returns a number such as 5.158, how can I get this number to
    display
    > on the LCD? I have found several examples that show how to
    display
    > text to the display, but none that show how to send data that is
    > calculated to the display.
    >
    > Can someone please explain to me how to do this (bearing in
    mind I do
    > not have a ton of experience with stamps).
    >
    > Or could someone please send me some code that would
    show me how to
    > do this.
    >
    > Thanks
Sign In or Register to comment.