菜单支持,所有功能都测试成功
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user