Point to CYD_PROJECT_GUIDE section A for side-by-side board reference.
74 lines
2.5 KiB
Markdown
74 lines
2.5 KiB
Markdown
# Changelog
|
||
|
||
## 2026-10-25 — 3.5" backlight pin correction
|
||
|
||
- `cyd_35r`: `TFT_BL` / `TFT_BL_PIN` **GPIO27** (was wrongly 21; 21 is GT911 INT).
|
||
- `../CYD_PROJECT_GUIDE.md` §A:2.8 vs 3.5 对照(触控 2046/911、背光、外设脚 22/27 vs 22)。
|
||
|
||
## 2026-10-18 — Pomodoro presets + custom minutes
|
||
|
||
- Duration presets: 1 / 3 / 5 / 10 minutes; `Set` opens numeric keypad (1–99).
|
||
- Keep `+/-`, Start/Pause/Reset, sound picker, speaker + volume.
|
||
|
||
## 2026-10-18 — Pomodoro timer UI
|
||
|
||
- Tag baseline `v1.0-beep-wav` (Beep + WAV list UI).
|
||
- New Pomodoro screen with Start/Pause/Reset and selectable alarm sound.
|
||
- Keep speaker toggle + volume slider; TF status in header.
|
||
|
||
## 2026-10-18 — WAV via DAC2 only (touch-safe)
|
||
|
||
- Drop I2S INTERNAL_DAC (it enables GPIO25 and kills touch).
|
||
- PCM WAV → RAM → dac_output on GPIO26 only; Beep tab unchanged.
|
||
|
||
## 2026-10-18 — Beep tab + WAV tab
|
||
|
||
- Keep 16 LEDC beeps on Beep tab.
|
||
- WAV tab scans TF (/ and /wav); short files load to RAM then play via Internal DAC.
|
||
- Core0 decode task; gain capped for onboard amp.
|
||
|
||
## 2026-10-18 — Built-in UI beep sounds
|
||
|
||
- Drop MP3; LEDC tone bank: Click/Key/Pop/Confirm/Cancel/Success/Error/...
|
||
- Scrollable SOUNDS list; tap to play.
|
||
|
||
## 2026-10-18 — Smooth MP3 + keep UI alive
|
||
|
||
- MP3 decode on FreeRTOS core0; UI/touch on core1.
|
||
- DAC1(GPIO25) disabled while playing so touch CLK works.
|
||
- No SD rescan during playback (SPI contention).
|
||
|
||
## 2026-10-18 — Music list from TF
|
||
|
||
- Scan root + /music for .mp3; scrollable list; tap row to play.
|
||
- PLAY uses selected track; auto-enables speaker on list tap.
|
||
|
||
## 2026-10-18 — Play /paomo.mp3 from TF
|
||
|
||
- PLAY streams `/paomo.mp3` via ESP8266Audio + internal DAC (GPIO26).
|
||
- Serial `#PUT` + `tools/sd_put.py` to copy MP3 onto the TF card.
|
||
|
||
## 2026-10-18 — Canon in D melody
|
||
|
||
- Replace Twinkle Twinkle with Pachelbel Canon in D (monophonic).
|
||
|
||
## 2026-10-17 — ASCII glyphs + volume slider
|
||
|
||
- Replace ·/— (tofu boxes) with ASCII `-` / `|`.
|
||
- Add VOL slider (0-100); live duty update while playing.
|
||
|
||
## 2026-10-17 — UI layout refresh
|
||
|
||
- Compact 320x240 layout: header status, capacity hero, usage bar, dual actions.
|
||
- Drop on-screen touch debug cursor; keep calibrated touch.cpp unchanged.
|
||
|
||
## 2026-10-17 — Restore TF + speaker (touch map frozen)
|
||
|
||
- Re-add SD info UI and speaker ON/OFF + Play Music.
|
||
- Default volume 20% via LEDC duty (GPIO26).
|
||
- Touch mapping left unchanged (diagonal BL/TR fix).
|
||
|
||
## 2026-10-17 — Touch-only then calibrated
|
||
|
||
- Stripped to touch test; fixed BL/TR with diagonal mirror (not 180°).
|