24x3 LCD with KS0079 driver init code help
ben_refurb
Posts: 3
I am trying to get this LCD working. It uses the KS0079 driver IC. I have the datasheet and have been trying to modify the code from BS2 examples that power the 44780 (4-bit mode)
I am able to get the LCD to power up but the text is all crazy. Every time I try to adjust the LCDinit code for what is described in the manual the LCD stops displaying anything altogether or the crazy output changes to some different form of random crazy. I have looked for code examples that refer to the KS0079 but have not had any luck. Not sure what I am doing wrong of if it's even possible to get this display working with PBASIC 2.5
I am able to get the LCD to power up but the text is all crazy. Every time I try to adjust the LCDinit code for what is described in the manual the LCD stops displaying anything altogether or the crazy output changes to some different form of random crazy. I have looked for code examples that refer to the KS0079 but have not had any luck. Not sure what I am doing wrong of if it's even possible to get this display working with PBASIC 2.5
Comments
I have attached the LCD datasheet (1 page)
Here is the link to the datasheet for KS0079 LCD controller:
http://www.digchip.com/datasheets/download_datasheet.php?id=482617&part-number=KS0079
I'm currently using BS2 Rev J with PBASIC 2.5 but wouldn't mind trying a different stamp if it would help.
I'm trying to make a test routine for this specific LCD so I can't use a different display.
I have looked at the data sheet for the KS0079 and looked at the one for the Hitachi datasheet for which the LCDCmd, LCDIn, and LCDOut commands were written for.
There doesn't seem to be any differences in command structure.....
But because both use the DB7 pin to indicate BUSY, if your using 4 bit mode then DB7 is not checked for being busy so you need to give the driver time to execute the command etc.
Also which type of "booster circuit" are you using to drive the LCD display? (Page 30/31 of datasheet)
I have included the datasheet for the Hitachi display driver so you can check the commands and data sequences compared to the KS0079.
Our company have stock of this KS0079 LCD, any interests please contact wtih me.
sales@szmarvel88.com 0086-15989896561.
TKS