Introduction - If you have any usage issues, please Google them yourself
Rt12864m sample program, the pin name of the pin tube foot function description
1 VSS 0V power supply
2 VCC +5V power supply
3 v0-contrast (brightness) adjustment
4 RS (CS) H/L RS="H", which means DB7--DB0 is the display data
4 RS (CS) H/L RS="L", which means DB7--DB0 is the display instruction data
5 R/W(SID) H/L R/W="H",E="H", data is read to DB7- DB0
5 R/W (SID) H/R/W L = "L", E = "H - L", DB7 - or DR DB0 data is written to the IR
6 E(SCLK) H/L to signal
7 DB0 H/L three state data lines
8 DB1 H/L three state data lines
9 DB2 H/L three state data lines
10 DB3 H/L three state data lines
DB4 H/L three state data lines
12 DB5 H/L three state data lines
13 DB6 H/L three state data lines
Data line of DB7 H/L
15 PSB H/L H: 8-bit or 4-bit parallel port mode, L: serial port mode (see note 1)
16 NC - free feet
17 /RESET H/L RESET, low level is effective (see note 2)
18 VOUT - LCD drive voltage output terminal
19 A VDD back light source (+ 5V) (see note 3)
20 K VSS back light source (see note 3)