Files
phtotest/CHANGELOG.md
DESKTOP-PUHFO60\dsx2016 d19341339b Fix 3.5C backlight (GPIO27) and GT911 INT handling per CYD guide.
Wrong BL=21 caused black screen; INT is separate from backlight and stays INPUT after reset.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-25 18:57:41 +08:00

40 lines
1.5 KiB
Markdown
Raw Permalink 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.
# Changelog
## 2026-10-25 — 3.5C 背光 / 触控按指南修正
- `cyd_35r`:`TFT_BL` / `TFT_BL_PIN` 改为 **GPIO27**(误用 21 会导致黑屏;21 是 GT911 INT)。
- GT911 复位后 INT 置 `INPUT` 轮询,不再把 INT 当背光拉高。
- `DRAW_BUF_DIV=20`;`LV_MEM` unflag 与 2.8 一致;补齐 `firmware/cyd_35r` 刷写脚本与文档。
## 2026-10-19 — GIF 动区闪 + 切回变小
- 显示统一全屏 STRETCH,离开 GIF 不再缩成小图。
- GIF 1:1 合成 + disposal=2 恢复背景;样张改为 160×120。
## 2026-10-19 — GIF 去闪屏
- 双缓冲指针交换发布帧,避免 memcpy 半帧撕裂。
- GIF 用 2× 整数缩放刷新;切图不再每帧 `set_src(nullptr)`。
## 2026-10-19 — 去掉图后条纹
- 样张改为纯色底,去掉装饰横纹。
- 画面 cover 铺满画布;LVGL 全屏 STRETCH,避免缩放留缝/条带。
## 2026-10-19 — GIF 不阻塞触控
- GIF 解码改到 core0 任务;`playFrame(false)` 去掉库内 `delay()`。
- 切换相片先 `photo_view_stop()`,避免点按卡几秒。
## 2026-10-19 — 每次改完提交
- 项目规则:完成任务后必须本地 git commit。
## 2026-10-19 — Photo album
- CYD LVGL 壳层来自 tftest(触摸映射冻结,TF + SoftSPI)。
- 扫描 `/photos` 与 `/` 下 jpg/png/gif;点左/右或 `<`/`>` 切换。
- JPEGDEC / PNGdec / AnimatedGIF 解码到 160×120 RGB565 画布,界面 2× 显示。
- 提供 `assets/photos` 样张与 `tools/make_test_photos.py`;串口 `#PUT` 上传。
- 预编译包:`firmware/cyd/`。