HomeWork vs. BOE boards: LCD incompatibility issue
BigMike
Posts: 34
Hello Parallax,
For a while now I've been using the BASIC Stamp HomeWork Board to run the Parallax 16x2 backlit LCD screen using the following basic setup lines:
Looking through all my files I have, somewhere along the lines I changed it to the following:
Ok, now both of these will work just fine when ran on the HomeWork board, but when I try the CON T19K2 command on my new Board of Education board running the BS2px24 chip, I get a "Undefined symbol" error, and if I change it to CON 32, it will send the code and run, but the text on my LCD screen is all messed up, it won't clear the screen, the backlight is not working, it keeps writing random stuff on the LCD.
So my question is this: What initialization code should I be using with the BS2px24 chip to use the Parallax 16x2 backlit LCD panel?
Thank you very much in advance!
BigMike
For a while now I've been using the BASIC Stamp HomeWork Board to run the Parallax 16x2 backlit LCD screen using the following basic setup lines:
LcdBaud CON T19K2
Looking through all my files I have, somewhere along the lines I changed it to the following:
LcdBaud CON 32
Ok, now both of these will work just fine when ran on the HomeWork board, but when I try the CON T19K2 command on my new Board of Education board running the BS2px24 chip, I get a "Undefined symbol" error, and if I change it to CON 32, it will send the code and run, but the text on my LCD screen is all messed up, it won't clear the screen, the backlight is not working, it keeps writing random stuff on the LCD.
So my question is this: What initialization code should I be using with the BS2px24 chip to use the Parallax 16x2 backlit LCD panel?
Thank you very much in advance!
BigMike
Comments
There's an example in the Parallax Basic Manual of the use of compile-time conditional statements to define Baud constants for the
different models of Stamps. It hasn't been updated to include the BS2px. You probably used that example in your program to define the T19K2 constant.
Post Edited (Mike Green) : 2/8/2008 9:38:50 PM GMT
EDIT: I just checked it out and it is one huge section
I did find the different baud rates and their values and symbols, so thank you [noparse]:)[/noparse]
I have found example scripts for a BS2px chip, but not the BS2px24 chip (which I have). Perhaps there is a difference?
If anyone has a serial LCD display operating on a BS2px24 chip, could you share with me the beginning LCD initialization section that I may copy into my scripts so I can start using this thing?!
Thanks!!
BigMike
All you should need are the Baud constants. The examples you can download from Parallax
from the webstore page for the display should work with the BS2px with the Baud constant
changes. By the way, the BS2px and BS2px24 are the same. There has not been a BS2px40.
Thanks again for your help. I thought I already tried that header info, I will try it again later this afternoon or tomorrow when I start installing my circuit into its application.
I'll let you know if I get it or not!
Thanks
BigMike