菜单支持,所有功能都测试成功

This commit is contained in:
2026-07-15 15:39:49 +08:00
parent d4112399c2
commit 92facadeb0
16 changed files with 908 additions and 447 deletions

View File

@@ -15,13 +15,8 @@
#include "spi.h"
#include <stdio.h>
/*
* 部分屏幕厂家虽然标称128x160但实际使用132x162驱动晶片
* 左右各偏移2列上下偏移1行才能正确显示。
* 根据自己的屏幕实测调整这两个值。
*/
#define X_OFFSET 2
#define Y_OFFSET 1
#define X_OFFSET 0
#define Y_OFFSET 0
uint16_t s_lcd_width = LCD_WIDTH;
uint16_t s_lcd_height = LCD_HEIGHT;