Hi, I bought Graphic LCD but i'm having problem using it with PIC16F877A. I tried to modify sample source program from PR21 Kit but it doesn't work.
I need someone to help me with a sample source code just to write "Cytron Technology" on the GLCD.
You didn't give enough details of the GLCD that you've bought. Which controller chip was it based on: HD61202, KS0108, T6963C, SED1330 or ST7920? What is the size of your GLCD? What clock rate is your 16F877a running on?
The PR21 GLCD is based on ST7920 and the 18F452 is running at 10MHz. That means the instruction cycle is 400nS per instruction. If your 16F877A is running at 20MHz, it is twice faster than the PR21 MCU.
I have a GLCD based on KS0108B chip and the connections are different from that of the PR21's GLCD. On P18, P16 & P15 of my GLCD, I have VEE , CS2 & CS1 respectively. My GLCD came with a demo board with a 16F57 PIC on it, so I have no problem testing my LCD that it is working by just pluging in the USB plug to supply +5V it requires.
Allen