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:
@@ -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
6
include/touch.h
Normal 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);
|
||||
Reference in New Issue
Block a user