Problem with Serial LCD Display
aviator3.1
Posts: 20
Real quick,
I have read up on all the documentation regarding the Parallax 2x16 Serial LCD. When I place it in test mode I get the proper display on the screen
"Parallax, Inc.
www.parallax.com"
and after a while pac man starts to eat the characters up.
I'm assuming that if the test functions correctly that the display is in proper working order.
What is happening is I am setting the Baud Rate to 9600 with SW1 OFF and SW2 ON since I'm using the BS2. A cursor is showing up at line 0 character space 0.
When I go to load a simple program onto the BS2 such as the one found in the documentation nothing happens.
' Smart Sensors and Applications - LcdTestMessage.bs2
' Display a test message on the Parallax Serial LCD.
' {$STAMP BS2} ' Target device = BASIC Stamp 2
' {$PBASIC 2.5} ' Language = PBASIC 2.5
SEROUT 14, 84, [noparse][[/noparse]22, 12] ' Initialize LCD
PAUSE 5
SEROUT 14, 84, [noparse][[/noparse]"See this?", 13, ' Text message, carriage return
"The LCD works!"] ' more text on Line 1.
END ' Program end
This is not a new display that I just purchased but one I found laying around the lab and it doesn't appear to be damaged in any way.
I'm familiar with all the command sets used to write characters to the display but I'm not getting anything.
I've tried different baud rates and different pin numbers etc etc and nothing.
Has anyone encountered a problem like this before?
Thanks
-Dan
I have read up on all the documentation regarding the Parallax 2x16 Serial LCD. When I place it in test mode I get the proper display on the screen
"Parallax, Inc.
www.parallax.com"
and after a while pac man starts to eat the characters up.
I'm assuming that if the test functions correctly that the display is in proper working order.
What is happening is I am setting the Baud Rate to 9600 with SW1 OFF and SW2 ON since I'm using the BS2. A cursor is showing up at line 0 character space 0.
When I go to load a simple program onto the BS2 such as the one found in the documentation nothing happens.
' Smart Sensors and Applications - LcdTestMessage.bs2
' Display a test message on the Parallax Serial LCD.
' {$STAMP BS2} ' Target device = BASIC Stamp 2
' {$PBASIC 2.5} ' Language = PBASIC 2.5
SEROUT 14, 84, [noparse][[/noparse]22, 12] ' Initialize LCD
PAUSE 5
SEROUT 14, 84, [noparse][[/noparse]"See this?", 13, ' Text message, carriage return
"The LCD works!"] ' more text on Line 1.
END ' Program end
This is not a new display that I just purchased but one I found laying around the lab and it doesn't appear to be damaged in any way.
I'm familiar with all the command sets used to write characters to the display but I'm not getting anything.
I've tried different baud rates and different pin numbers etc etc and nothing.
Has anyone encountered a problem like this before?
Thanks
-Dan
Comments
I'm just under the assumption that if the test mode works then the display should be functioning properly. But its not working at any other time as if it has something locked in memory somewhere.
for my serial (Seetron 4x16) LCD baudrate. Maybe your LCD works with that one?
Regards
Adrian