6inch e-Paper HAT User Manual
18
/
19
100.
0xD8D8D8
,
0xD9D9D9
,
0xDADADA
,
0xDBDBDB
,
101.
0xDCDCDC
,
0xDDDDDD
,
0xDEDEDE
,
0xDFDFDF
,
102.
0xE0E0E0
,
0xE1E1E1
,
0xE2E2E2
,
0xE3E3E3
,
103.
0xE4E4E4
,
0xE5E5E5
,
0xE6E6E6
,
0xE7E7E7
,
104.
0xE8E8E8
,
0xE9E9E9
,
0xEAEAEA
,
0xEBEBEB
,
105.
0xECECEC
,
0xEDEDED
,
0xEEEEEE
,
0xEFEFEF
,
106.
0xF0F0F0
,
0xF1F1F1
,
0xF2F2F2
,
0xF3F3F3
,
107.
0xF4F4F4
,
0xF5F5F5
,
0xF6F6F6
,
0xF7F7F7
,
108.
0xF8F8F8
,
0xF9F9F9
,
0xFAFAFA
,
0xFBFBFB
,
109.
0xFCFCFC
,
0xFDFDFD
,
0xFEFEFE
,
0xFFFFFF
110.
};
111.
112.
static
GUI_CONST_STORAGE GUI_LOGPALETTE
_Palzoo_800_600
=
{
113.
256
,
// Number of entries
114.
0
,
// No transparency
115.
&
_Colorszoo_800_600
[
0
]
116.
};
117.
118.
GUI_CONST_STORAGE GUI_BITMAP bmzoo_800_600
=
{
119.
800
,
// xSize
120.
600
,
// ySize
121.
800
,
// BytesPerLine
122.
8
,
// BitsPerPixel
123.
_aczoo_800_600
,
// Pointer to picture data (indices)
124.
&
_Palzoo_800_600
// Pointer to palette
125.
};
7) Modify the codes
1.
static
GUI_CONST_STORAGE
unsigned
char
_aczoo_800_600
[]
=
{
To (You can change the name of the array to every one you like)
1.
const
unsigned
char
zoo_800_600
[]
=
{
8
)
modify the IT8951.c:
1.
extern
const
unsigned
char
zoo_800_600
[];
2.
void
IT8951DisplayExample3
()