Files
activeBuzzerTest/include/pins.h
DESKTOP-PUHFO60\dsx2016 d71ee19edd Add active buzzer test with SoftSPI touch and LVGL.
GPIO22 digital on/off toggle (default off) and flashable firmware/cyd package.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-23 13:25:19 +08:00

20 lines
400 B
C

#pragma once
// CYD ESP32-2432S028R — 触控/屏脚与 tftest 一致
#define TFT_BL_PIN 21
#define CYD_TOUCH_IRQ 36
#define CYD_TOUCH_MOSI 32
#define CYD_TOUCH_MISO 39
#define CYD_TOUCH_CLK 25
#define CYD_TOUCH_CS 33
// 有源蜂鸣器信号脚(高电平响)
#define BUZZER_PIN 22
#define SCREEN_WIDTH 240
#define SCREEN_HEIGHT 320
#define UI_HOR_RES 320
#define UI_VER_RES 240