Fix 3.5C board pins per CYD guide: BL=27, GY30 SCL=21.

Correct black-screen backlight, free GPIO21 after GT911 init (Wire1), export/flash cyd_35r package.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-10-25 11:19:52 +08:00
parent 604fa26f04
commit d81383aaf6
18 changed files with 573 additions and 81 deletions

View File

@@ -5,7 +5,9 @@
#define LV_COLOR_DEPTH 16
#ifndef LV_MEM_SIZE
#define LV_MEM_SIZE (48 * 1024U)
#endif
#define LV_DEF_REFR_PERIOD 16
#define LV_DPI_DEF 130

6
include/touch.h Normal file
View File

@@ -0,0 +1,6 @@
#pragma once
#include <lvgl.h>
void touch_init();
void touch_read_cb(lv_indev_t *indev, lv_indev_data_t *data);