Hi again
I have been programming to test my 128x64 LCD and it works but I am a bit confused beacause I wrote the codes like this:
CS1=1;
CS2=0;
write_display(0xFF); //Display 8 dots on the 1st address of x and y
write_display(0xFF); //Display 8 dots on the 1st address of x and y
display_screen(0x3E); //Display Off
display_screen(0x3F); //Display On
The result that I would expect is to see 2 vertical of 8 black dots on the far top and left corner of LCD display but I could not see any two black vertical dots on the screen.
So I have changed 0x00 in the write_display; in lieu of 0xFF in order to see any effect on the LCD and two vertical eight dots appeared on the LCD module while the black cover the first half of LCD module.
Bascially I want my LCD module to be inverted.
Does it has to do with Vee?
So far I have connected:
Vdd = 5V
Vss = 0V
+5V and Vee connected to variable resistor (10k) with Vo
DB0-DB7 - connect to uC chip's port
R/W - connect to uC chip's port
D/I - connect to uC chip's port
E - connect to uC chip's port
CS1 and CS2 - connect to uC chip's port
RES - connect to uC chip's port
A - connect 8ohm resistor
K - connect to ground
The connection is very similar -
www.azdisplays.com/PDF/agm1264b.pdf
Yin Yang