能用,自动没测,不想改了,崩溃了

This commit is contained in:
Wang Beihong
2026-03-31 21:52:29 +08:00
parent f0ac50642d
commit f8c7706c11
32 changed files with 15324 additions and 12035 deletions

View File

@@ -28,7 +28,7 @@ extern "C" {
#define EXAMPLE_LCD_DRAW_BUFF_HEIGHT (50) // 绘图缓冲区高度为50行影响刷新性能
/* ST7789颜色配置出现偏色时优先调整这三项 */
#define EXAMPLE_LCD_COLOR_ORDER_BGR (0) // 0: RGB, 1: BGR
#define EXAMPLE_LCD_COLOR_ORDER_BGR (1) // 0: RGB, 1: BGR
#define EXAMPLE_LCD_INVERT_COLOR (1) // 0: 正常色, 1: 反色
#define EXAMPLE_LCD_SWAP_BYTES (1) // 0: 不交换RGB565高低字节, 1: 交换
@@ -36,8 +36,8 @@ extern "C" {
#define EXAMPLE_LCD_BL_ON_LEVEL (1) // 背光开启电平为高电平(1)
/* LCD方向/偏移配置 */
#define EXAMPLE_LCD_GAP_X (0)
#define EXAMPLE_LCD_GAP_Y (26)
#define EXAMPLE_LCD_GAP_X (1) // LCD水平偏移1像素调整显示位置
#define EXAMPLE_LCD_GAP_Y (26) // LCD垂直偏移26像素调整显示位置ST7789常见偏移值
#define EXAMPLE_LCD_ROT_SWAP_XY (1)
#define EXAMPLE_LCD_ROT_MIRROR_X (1)
#define EXAMPLE_LCD_ROT_MIRROR_Y (0)