I was going to use the GLK on the PIC's I2C bus, but I figured it would be better to first get it going on the PIC's internal USART.
So, I got the PICs USART talking to my PC perfectly. Connected to COM1, 19.2k, 8N1, no flow control. Press a button, and "Hello" appears on my HyperTerminal.
I hooked up the GLK to COM2, opened up a HyperTerminal Session. 19.2k, 8N1, no flow control. Typed a couple letters. "asdf" appears on my LCD. excellent.
So i hooked up the PIC directly to the LCD, but nothing will show up. What happens is contrast of the screen goes up a bit. Shouldn't I be seeing "Hello" display on my LCD? I don't understand...if the PIC can talk to my PC port, and the PC can talk to the LCD, shouldn't the PIC be able to talk to the LCD?
The PIC is a 16F877 on a Microchip PICDEM2 Plus demo board, with MAX232A installed on it for serial communication.
I have a 1 millisecond delay between each character send. I've tried 5ms, but haven't tried no delay yet.
The only other thing I can think of would be the PIC to LCD cable...but...I am pretty sure it is working.
One last thing, it seems the GLK is trying to send some data back to the PIC for some reason. I have my PIC programmed to display on LEDs any data recieved, and after I send anything to the GLK, I get some data back. It flashes too fast for me to get it all, but the last byte of data is "00001010". I don't know if that means anything. It doesn't make sense, because when you send data to the GLK via PC/Hyperterminal, you don't get anything back
If anyone has any ideas or links to some places that have used this LCD in conjunction with a PIC, please post them.
Thank you
