Align touch with temperature XPT2046 driver and LVGL inverse map.
Mux VSPI between SD and touch; map like climate UI then undo ROTATION_270 so buttons hit. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
8
include/bus_vspi.h
Normal file
8
include/bus_vspi.h
Normal file
@@ -0,0 +1,8 @@
|
||||
#pragma once
|
||||
|
||||
#include <SPI.h>
|
||||
|
||||
// CYD:触摸与 SD 共用 VSPI,按需切换引脚
|
||||
SPIClass &cyd_vspi();
|
||||
void cyd_vspi_select_touch();
|
||||
void cyd_vspi_select_sd();
|
||||
Reference in New Issue
Block a user