Waveshare 6inch e-Paper HAT User Manual page 16

Table of Contents

Advertisement

6inch e-Paper HAT User Manual
32.
/*********************************************************
************
33.
*
34.
* Palette
35.
*
36.
* Description
37.
* The following are the entries of the palette table.
38.
* The entries are stored as a 32-bit values of which 24
bits are
39.
* actually used according to the following bit mask:
0xBBGGRR
40.
*
41.
* The lower 8 bits represent the Red component.
42.
* The middle 8 bits represent the Green component.
43.
* The highest 8 bits represent the Blue component.
44.
*/
45.
static
GUI_CONST_STORAGE GUI_COLOR
{
46.
0x000000, 0x010101, 0x020202, 0x030303,
47.
0x040404, 0x050505, 0x060606, 0x070707,
48.
0x080808, 0x090909, 0x0A0A0A, 0x0B0B0B,
49.
0x0C0C0C, 0x0D0D0D, 0x0E0E0E, 0x0F0F0F,
50.
0x101010, 0x111111, 0x121212, 0x131313,
51.
0x141414, 0x151515, 0x161616, 0x171717,
52.
0x181818, 0x191919, 0x1A1A1A, 0x1B1B1B,
53.
0x1C1C1C, 0x1D1D1D, 0x1E1E1E, 0x1F1F1F,
54.
0x202020, 0x212121, 0x222222, 0x232323,
55.
0x242424, 0x252525, 0x262626, 0x272727,
56.
0x282828, 0x292929, 0x2A2A2A, 0x2B2B2B,
57.
0x2C2C2C, 0x2D2D2D, 0x2E2E2E, 0x2F2F2F,
58.
0x303030, 0x313131, 0x323232, 0x333333,
59.
0x343434, 0x353535, 0x363636, 0x373737,
60.
0x383838, 0x393939, 0x3A3A3A, 0x3B3B3B,
61.
0x3C3C3C, 0x3D3D3D, 0x3E3E3E, 0x3F3F3F,
62.
0x404040, 0x414141, 0x424242, 0x434343,
63.
0x444444, 0x454545, 0x464646, 0x474747,
_Colorszoo_800_600[] =
16 / 19

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents