Add Pomodoro UI with 1/3/5/10 presets and custom keypad.

Replace Beep/WAV list screen with a timer; pick duration via presets or Set numpad (1-99 min), and keep selectable alarm sounds.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-10-18 18:58:21 +08:00
parent b44bd7d3f0
commit 54a70d09e2
8 changed files with 620 additions and 224 deletions

View File

@@ -1,12 +1,14 @@
# CYD TF + Speaker
# CYD Pomodoro
ESP32-2432S028R:LVGL 横屏显示 TF 卡信息,触控开关喇叭并播放音乐。
ESP32-2432S028R:LVGL 横屏番茄钟,可选内置提示音,触控喇叭播放。
## 功能
- SoftSPI 触摸(已标定,勿改 `src/touch.cpp` 映射)
- TF 卡信息(VSPI)
- 喇叭 GPIO26,默认音量 **20%**;按钮:Speaker ON/OFF、Play Music
- 番茄钟:预设 1 / 3 / 5 / 10 分钟;`Set` 自定义输入;`+/-` 微调;Start / Pause / Reset
- 结束音效:内置 Beep 列表自选(默认 Alarm),点名称可试听
- 喇叭 GPIO26 + 音量滑条;TF 卡状态显示在右上角
- 基线标签:`v1.0-beep-wav`(改番茄钟前的 Beep + WAV 界面)
## 构建 / 烧录