mirror of
https://github.com/No-Chicken/Power-Pico.git
synced 2026-04-03 13:02:36 +08:00
更新LCD地址偏移
This commit is contained in:
@@ -4,9 +4,12 @@
|
|||||||
#include "spi.h"
|
#include "spi.h"
|
||||||
#include "cmsis_os.h"
|
#include "cmsis_os.h"
|
||||||
|
|
||||||
#if USE_HORIZONTAL == 0 || USE_HORIZONTAL == 1
|
#if USE_HORIZONTAL == 0
|
||||||
#define OFFSET_Y 0
|
#define OFFSET_Y 0
|
||||||
#define OFFSET_X 0
|
#define OFFSET_X 0
|
||||||
|
#elif USE_HORIZONTAL == 1
|
||||||
|
#define OFFSET_Y 80
|
||||||
|
#define OFFSET_X 0
|
||||||
#else
|
#else
|
||||||
#define OFFSET_Y 0
|
#define OFFSET_Y 0
|
||||||
#define OFFSET_X 0
|
#define OFFSET_X 0
|
||||||
|
|||||||
Reference in New Issue
Block a user