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

LCD Problems

ArchiverArchiver Posts: 46,084
edited 2002-09-04 19:06 in General Discussion
Hello,

I am trying to interface a 1 X 16 LCD from AND (Model#
AND671GST-LED) with the BS2sx. When the LCD is connected to the basic
stamp and the program is running, it only displays the first eight
characters. The program that I am playing around with is LCDEMO.BSX
from stampworks and LCDEMO1.BSX from nuts and volts. Does anybody know
the reason it is only displaying 8 character and not 16? I tied to
placing a Function Set, which would manually set the number of display
lines and character font, in the initializing subroutines to no avail.
I also tried placing pauses in the initializing and LCD write
subroutines with no results either. Next, I tried to send the display
message all at once. This, however filled all 16 LCD characters with
symbols, so this told me that the LCD does work. At this point I am at
a lull for what to try next. Any suggestions. I look forward to all
the input that people can provide.

Thanks,

Glenn McGillicuddy

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2002-09-04 19:06
    Your LCD is actually a 2x8 that is physically arranged as a 1x16. You need
    to manually set the DDRAM address to get to the second half of the line. If
    you download and install the LCD Character Creator from Parallax, you'll find
    a DDRAM map that coincides with your module and will help you out.

    -- Jon Williams
    -- Parallax

    In a message dated 9/4/02 11:39:45 AM Central Daylight Time,
    jeepunh@h... writes:


    > I am trying to interface a 1 X 16 LCD from AND (Model#
    > AND671GST-LED) with the BS2sx. When the LCD is connected to the basic
    > stamp and the program is running, it only displays the first eight
    > characters. The program that I am playing around with is LCDEMO.BSX
    > from stampworks and LCDEMO1.BSX from nuts and volts. Does anybody know
    > the reason it is only displaying 8 character and not 16? I tied to
    > placing a Function Set, which would manually set the number of display
    > lines and character font, in the initializing subroutines to no avail.
    > I also tried placing pauses in the initializing and LCD write
    > subroutines with no results either. Next, I tried to send the display
    > message all at once. This, however filled all 16 LCD characters with
    > symbols, so this told me that the LCD does work. At this point I am at
    > a lull for what to try next. Any suggestions. I look forward to all
    >




    [noparse][[/noparse]Non-text portions of this message have been removed]
Sign In or Register to comment.