Dear All, Can anyone please provide links for: 1. Complete sketch (from start to end) using ST7920 Controller for this Parallel/serial selectable GLCD (128x64) according to this GLCD's specific pinouts (see below) and 2. The full Pinout for the Mega2560 Board connecting this GLCD;
There are numerous sketches and very different 128x64 GCLD's Controllers out there BUT none seem to be for the above combination. Or the information that is available is only discernable by one who is fully conversant with the programming languages.
I have located the Datasheet, (DS) for the ST7920 controller - and readers looking for this information need to be aware there are various publication dates for this specific DS ranging from Oct 2002 to Aug 2008 and possibly later as well, and they can be substantially different or don't include the same pin assignments - which adds to both the difficulty in trying to nut this out yourself and creates even more confusion since almost all these "other" GLCD's use two pins, CS1 & CS2 instead of a single pin, E?
The correct pinout for my 128x64 GLCD which carries the only identifying feature of J12864 followed by two chinese characters is: Pin 1 - GND; Pin 2 - Vcc; Pin 3 - Vo; Pin 4 - RS; Pin 5 - R/W; Pin 6 - E; Pin 7 to Pin 14 - DB0 to DB7; Pin 15 - PSB (Parallel-H/serial-L select); Pin 16 - NC; Pin - 17 RST; Pin 18 - Vout; (from internal voltage doubler); BLA (Backlight annode); Pin 20 - BLK (Cathode).
I hope someone can please put me out of my misery and point me in the right direction. I have, I believe thoroughly chceked(??) both the Arduino and Adafruit sites but to no avail???