GS0 pulse width = 8
GS0 pulse width = 16
.
.
.
GS0 pulse width = 104
GS0 pulse width = 112
Set precharge voltage level.
A[4:0] = 0x00; 0.20*VCC
.
0x17
0x04
Set Precharge
Voltage
0
1
BB
A[4:0]
1
*
0
*
1
*
1
A4
1
A3
0
A2
1
A1
1
A0
.
A[4:0] = 0x3E; 0.60*VCC
Sets the VCOMH voltage level
A[3:0] = 0x00; 0.72*VCC
.
Set VCOMH
Voltage
0
1
BE
A[3:0]
1
*
0
*
1
*
1
*
1
A3
1
A2
1
A1
0
A0
.
A[3:0] = 0x04; 0.8*VCC
.
.
A[3:0] = 0x07; 0.86*VCC
Double byte command to select 1 out of 256 contrast steps.
Contrast increases as the value increases.
0x7F
0x0f
Set Contrast
Control
Master Contrast
Control
0
1
0
1
C1
A[7:0]
C7
A[3:0]
1
A7
1
1
A6
1
0
A5
0
0
A4
0
0
A3
0
0
A2
1
0
A1
1
1
A0
1
A[3:0] = 0x00; Reduce output for all colors to 1/16
A[3:0] = 0x01; Reduce output for all colors to 2/16
.
*
*
*
*
A3
A2
A1
A0
.
A[3:0] = 0x0E; Reduce output for all colors to 15/16
A[3:0] = 0x0F; no change
Set MUX ratio to N+1 MUX
N=A[6:0]; from 16MUX to 128MUX (0 to 14 are invalid)
127d
0x12
Set Multiplex
Ratio
Set Command
Lock
0
1
0
1
CA
A[6:0]
FD
1
*
1
0
1
A6
1
0
A5
1
0
A4
1
1
A3
1
0
A2
1
1
A1
0
0
A0
1
A[2] = 0; Unlock OLED to enable commands
A[2] = 1; Lock OLED from entering commands
A[2]
0
0
1
0
A2
1
0
For detailed instruction information, see datasheet: http://www.newhavendisplay.com/app_notes/SSD1322.pdf
[14]