#ifdef LV_LVGL_H_INCLUDE_SIMPLE
#include "lvgl.h"
#else
#include "../lvgl/lvgl.h"
#endif
#ifndef LV_ATTRIBUTE_MEM_ALIGN
#define LV_ATTRIBUTE_MEM_ALIGN
#endif
#ifndef LV_ATTRIBUTE_IMG_ICON_CLOCK
#define LV_ATTRIBUTE_IMG_ICON_CLOCK
#endif
const LV_ATTRIBUTE_MEM_ALIGN LV_ATTRIBUTE_IMG_ICON_CLOCK uint8_t icon_clock_map[] = {
0x00, 0x00, 0x00, 0x11, /*Color of index 0*/
0x01, 0x01, 0x01, 0xc2, /*Color of index 1*/
0x43, 0x44, 0x48, 0xfa, /*Color of index 2*/
0xd9, 0xdb, 0xdc, 0xff, /*Color of index 3*/
0xb9, 0xd1, 0xd7, 0xff, /*Color of index 4*/
0x96, 0xcb, 0xd5, 0xfe, /*Color of index 5*/
0xa9, 0xbd, 0xc4, 0xff, /*Color of index 6*/
0x48, 0x70, 0x7a, 0x80, /*Color of index 7*/
0x8f, 0xb1, 0xbd, 0xfe, /*Color of index 8*/
0x01, 0x02, 0x03, 0x56, /*Color of index 9*/
0x8c, 0xa1, 0xab, 0xff, /*Color of index 10*/
0x1f, 0x2d, 0x2f, 0x73, /*Color of index 11*/
0x6d, 0x9a, 0xab, 0xff, /*Color of index 12*/
0x70, 0x74, 0x7a, 0xff, /*Color of index 13*/
0xaf, 0xed, 0xf3, 0xff, /*Color of index 14*/
0xe7, 0xe7, 0xe6, 0xff, /*Color of index 15*/
0x00, 0x00, 0x9b, 0xbb, 0xbb, 0xbb, 0xbb, 0xbb, 0xbb, 0xbb, 0xbb, 0xbb, 0xbb, 0xbb, 0xbb, 0xbb, 0xbb, 0xbb, 0xbb, 0xbb, 0xbb, 0xbb, 0xb9, 0x00, 0x00,
0x00, 0x07, 0x55, 0xee, 0xee, 0xee, 0xee, 0xee, 0xee, 0xee, 0xee, 0xee, 0xee, 0xee, 0xee, 0xee, 0xee, 0xee, 0xee, 0xee, 0xe4, 0xe5, 0x55, 0x70, 0x00,
0x00, 0x75, 0x55, 0x55, 0x54, 0x54, 0x44, 0x44, 0xe4, 0xe4, 0xe4, 0xe4, 0xe4, 0xe4, 0xe4, 0xe4, 0x44, 0x44, 0x45,

这篇博客详细介绍了LVGL图形库中如何包含和使用图像资源,包括头文件的条件包含、内存对齐定义以及图像数据的十六进制表示。图像数据以颜色索引形式存储,用于显示不同颜色的像素。内容涉及到颜色映射和内存布局,是LVGL库在嵌入式系统中显示图形的重要部分。
1万+

被折叠的 条评论
为什么被折叠?



