i try GLCD example Bitmap (Arduino Mega 2560, U8glib ST7920) but the GLCD shows nothing except backlight and controllable contrast. i wonder how the wiring connections to each pins.
I had removed commented U8GLIB_ST7920_128X64_1X u8g(8, 9, 10, 11, 4, 5, 6, 7, 18, 17, 16); // 8Bit Com: D0..D7: 8,9,10,11,4,5,6,7 en=18, di=17,rw=16 . Do i have to do wiring according to D0..D7: 8,9,10,11,4,5,6,7 en=18, di=17,rw=16 ?. what about the PSB pin? my GLCD doesn't have di=17 pin too.
Here is a copy of that section:
Serial mode (PSB = LOW)
sck: Pin with label "E"
mosi: Pin with label "RW"
cs: Pin with label "RS".
Example: U8GLIB_ST7920_128X64_1X(sck, mosi, cs [, reset]) is equivalent to U8GLIB_ST7920_128X64_1X(E, RW, RS, RST) for many display modules.
Parallel mode (PSB = HIGH)
en: Pin with label "E"
di: Pin with label "RS"
rw: Pin with label "RW"