strange character on LCD upon program start and end...HELP!
guitar_plr
Posts: 31
I have an BS2 connected to the Matrix Orbital LK202-25 LCD.· I send some simple commands to the LCD and when the program starts, powers up,·or stops using the "END" command,·a strange character appears on the screen (kind of like an arrow).· All of the lcd display commands work perfectly (like clear screen, and formatting).· As soon as I use the "END" command the strange character comes back at·a rate of about every 2 seconds.· It's pretty annoying.· I was talking to tech support with Matrix Orbital for a while and they had no idea, saying the BS2 was the problem.
I finally found in the STAMP reference manual there is a "glitch" with the END command (pg 115):
"pins will retain thier input or output settings after the BASIC Stamp is deactivated by END".· I guess that is why the·strange character is appearing after·using END.· If I use STOP,·this doesn't happen.
1. Has anyone dealt with this "glitch" and what could be a workaround?
2.·By the way, my display ONLY works when the BS2 is set to 9600 and the LCD at 19200.·I get garbage for every other setting.· What·could be wrong?
Thanks!
Code I used:
'{$STAMP BS2}
PAUSE 1000
'clear screen
SEROUT Tx,84,[noparse][[/noparse]254,88]
'print test
SEROUT Tx,84,[noparse][[/noparse]"TEST"]
PAUSE 1000
END
·
I finally found in the STAMP reference manual there is a "glitch" with the END command (pg 115):
"pins will retain thier input or output settings after the BASIC Stamp is deactivated by END".· I guess that is why the·strange character is appearing after·using END.· If I use STOP,·this doesn't happen.
1. Has anyone dealt with this "glitch" and what could be a workaround?
2.·By the way, my display ONLY works when the BS2 is set to 9600 and the LCD at 19200.·I get garbage for every other setting.· What·could be wrong?
Thanks!
Code I used:
'{$STAMP BS2}
PAUSE 1000
'clear screen
SEROUT Tx,84,[noparse][[/noparse]254,88]
'print test
SEROUT Tx,84,[noparse][[/noparse]"TEST"]
PAUSE 1000
END
·
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas, TX· USA
Thanks.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas, TX· USA
By the way, I just ordered a G12032 graphics LCD, maybe I will have better luck...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas, TX· USA
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas, TX· USA
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas, TX· USA