Files
DESKTOP-PUHFO60\dsx2016 9576c5f7d2 Add HW-069 v1.1 4-digit TM1637 test with SoftSPI touch and LVGL.
CLK on GPIO22, DIO on GPIO27; value/brightness/colon controls and flashable firmware/cyd package.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-23 14:08:51 +08:00

13 lines
319 B
C

#pragma once
#include <lvgl.h>
#include <stdint.h>
void touch_init();
void touch_read_cb(lv_indev_t *indev, lv_indev_data_t *data);
// 调试:最近一次触点(物理 / LVGL 旋转后逻辑)
extern int16_t g_dbg_phys_x, g_dbg_phys_y;
extern int16_t g_dbg_logic_x, g_dbg_logic_y;
extern bool g_dbg_touch_down;