Files
activeBuzzerTest/README.md
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

33 lines
640 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 有源蜂鸣器(CYD)
触控 + LVGL 参考 `hw269test` / `tftest`。GPIO22 高低电平控制有源蜂鸣器:点击开 / 点击关,默认关。
## 硬件
| 项目 | 说明 |
|------|------|
| 板子 | CYD ESP32-2432S028R |
| 模块 | 有源蜂鸣器(高电平响) |
| 信号 | **GPIO22** |
接线:`VCC→5V`(或模块标注电压),`GND→GND`,`I/O / S→GPIO22`。
## 操作
- 大按钮:开启 / 关闭蜂鸣器(切换)
- 上电默认:**关闭**
## 构建 / 烧录
```bash
pio run -e cyd -t upload
```
或用预编译包:
```powershell
cd firmware\cyd
.\flash.ps1
# 或 .\flash.ps1 -Port COMx
```