Need help connecting parallel LCD
I have been to get this lcd to work with my basic stamp homework board for the last couple days and have just been beating my head against a wall.
Since the stamp has 16pins to use i have hooked up 8 of them directly to the stamp. Contrast and brightness controls work fine via 10K pot but I just cant get the code to display a screen. Could someone please so me code that I can see how I am suppose to send data to the lcd. Im not even sure that I am attempting to output data in the correct way.
This is the LCD I am using it uses a T6963C
www.sparkfun.com/commerce/product_info.php?products_id=8799
I really hope someone can help me Im going insane not being able to figure it out.
Thanks
Since the stamp has 16pins to use i have hooked up 8 of them directly to the stamp. Contrast and brightness controls work fine via 10K pot but I just cant get the code to display a screen. Could someone please so me code that I can see how I am suppose to send data to the lcd. Im not even sure that I am attempting to output data in the correct way.
This is the LCD I am using it uses a T6963C
www.sparkfun.com/commerce/product_info.php?products_id=8799
I really hope someone can help me Im going insane not being able to figure it out.
Thanks
![hop.gif](http://forums.parallax.com/images/smilies/hop.gif)
Comments
P9 is RESET T6963C(LOW EFFECTIVE)
P12 is /WR DATA WRITE
P13 is /RD DATA READl
p14 is /CE CHIP ENABLE FOR T6963C
led contrast control is connected and working with a 10k pot
and lcd has 5v needed for the T6963 chip
Code I know is totally wrong I was trying to send highs and lows for each bit of the byte. and now im not sure how to approach it now. I cant find any sample code using a T6963 with a basic stamp.
I found this page that has sample code looks like its written in C which I dont know very well and dont know how to translate this to pbasic
http://www.mcselec.com/index.php?option=com_content&task=view&id=58&Itemid=57
Post Edited (gregory923) : 12/11/2008 3:08:00 AM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen
' {$STAMP BS2}
' {$PBASIC 2.5}
Input_Pin CON 13 'Input PIN for the LCD screen.
BAUDMODE CON 32 'Baud rate to transmit to the LCD screen. Change this setting to match your LCD Baud Rate.
SEROUT Input_Pin,BAUDMODE,[noparse][[/noparse]"Hello, I do work!!"]
END
I have never used this screen before and just going by your description of your setup in your post, I'm just taking a wild guess. Hope it works for you.
The LCD he's using does not have a serial interface, so this code is not going to work. What you've got here will work fine with serial-enabled LCD screens, but not parallel ones.