ABCDE
1
Data / Command8-bit Data (Hex)Data in binaryPrepend with Data / CommandPack into 8 bits
2
3
# display_init
4
5
SWRESET
Software Reset
6
010000000100000000100
7
000000000000000000080
8
000000000000000000000
9
000000000000000000000
10
000000000000000000000
11
000000000000000000000
12
000000000000000000000
13
000000000000000000000
14
SPI Tx: 9 bytes:
000000001000000000000000000000000000000000000000000000000000000000000000
15
00 80 00 00 00 00 00 00 00
Match
16
17
SLPOUT
Sleep Out (Disable Sleep)
18
0110001000100001000108
19
000000000000000000080
20
000000000000000000000
21
000000000000000000000
22
000000000000000000000
23
000000000000000000000
24
000000000000000000000
25
000000000000000000000
26
SPI Tx: 9 bytes:
000010001000000000000000000000000000000000000000000000000000000000000000
27
08 80 00 00 00 00 00 00 00
Match
28
29
VSCRDER
Vertical Scrolling Definition
30
0330011001100011001119
31
1000000000100000000C0
32
100000000010000000020
33
1140001010010001010011
34
100000000010000000048
35
100000000010000000004
36
100000000010000000002
37
000000000000000000000
38
SPI Tx: 9 bytes:
000110011100000000100000000100010100100000000100000000100000000000000000
39
19 c0 20 11 48 04 02 00 00
Match
40
41
NORON
Normal Mode On
42
0130001001100001001109
43
000000000000000000080
44
000000000000000000000
45
000000000000000000000
46
000000000000000000000
47
000000000000000000000
48
000000000000000000000
49
000000000000000000000
50
SPI Tx: 9 bytes:
000010011000000000000000000000000000000000000000000000000000000000000000
51
09 80 00 00 00 00 00 00 00
Match
52
53
INVON
Display Inversion On
54
0210010000100010000110
55
000000000000000000080
56
000000000000000000000
57
000000000000000000000
58
000000000000000000000
59
000000000000000000000
60
000000000000000000000
61
000000000000000000000
62
SPI Tx: 9 bytes:
000100001000000000000000000000000000000000000000000000000000000000000000
63
10 80 00 00 00 00 00 00 00
Match
64
65
MADCTL
Set Orientation
66
036001101100001101101B
67
100000000010000000040
68
000000000000000000000
69
000000000000000000000
70
000000000000000000000
71
000000000000000000000
72
000000000000000000000
73
000000000000000000000
74
SPI Tx: 9 bytes:
000110110100000000000000000000000000000000000000000000000000000000000000
75
1b 40 00 00 00 00 00 00 00
Match
76
77
COLMOD
Interface Pixel Format: RGB565
78
03a001110100001110101D
79
1550101010110101010155
80
000000000000000000040
81
000000000000000000000
82
000000000000000000000
83
000000000000000000000
84
000000000000000000000
85
000000000000000000000
86
SPI Tx: 9 bytes:
000111010101010101000000000000000000000000000000000000000000000000000000
87
1d 55 40 00 00 00 00 00 00
Match
88
89
DISPONDisplay On
90
0290010100100010100114
91
000000000000000000080
92
000000000000000000000
93
000000000000000000000
94
000000000000000000000
95
000000000000000000000
96
000000000000000000000
97
000000000000000000000
98
SPI Tx: 9 bytes:
000101001000000000000000000000000000000000000000000000000000000000000000
99
14 80 00 00 00 00 00 00 00
Match
100
TODO Delay 200