Add configurable offset to SPI screen

This commit is contained in:
Kevincoooool
2024-11-30 19:00:05 +08:00
parent 5e7c5da337
commit 43a0cbeebc
5 changed files with 167 additions and 35 deletions

View File

@@ -32,6 +32,9 @@
#define DISPLAY_MIRROR_Y false
#define DISPLAY_SWAP_XY true
#define DISPLAY_OFFSET_X 0
#define DISPLAY_OFFSET_Y 0
#define DISPLAY_BACKLIGHT_PIN GPIO_NUM_42
#define DISPLAY_BACKLIGHT_OUTPUT_INVERT true