Commit Graph

25 Commits

Author SHA1 Message Date
b44bd7d3f0 Snapshot Beep + WAV UI before Pomodoro rewrite.
Keep LEDC tones, TF WAV playback, and compact list layout as a tagged baseline.

Co-authored-by: Cursor <cursoragent@cursor.com>
v1.0-beep-wav
2026-10-18 18:51:05 +08:00
fbb62d3d53 Refresh compact CYD UI layout for TF and speaker.
Hero capacity, status chip, dual action buttons; leave touch mapping alone.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-17 18:46:01 +08:00
7c6eb9a09b Document restored TF and 20% speaker volume.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-17 18:44:02 +08:00
a1ab088d70 Restore TF card UI and speaker at 20% volume.
Keep calibrated SoftSPI touch mapping unchanged.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-17 18:43:11 +08:00
7b5f984731 Fix BL/TR with diagonal mirror instead of 180 rotation.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-17 18:38:32 +08:00
4f41621cc6 Rotate touch 180 so BL and TR match screen labels.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-17 18:36:16 +08:00
f2b14eb30f Strip TF and audio; keep touch-only screen test UI.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-17 18:34:19 +08:00
87058272eb Fix SoftSPI touch: official channels without broken mirror.
Logs showed MIRROR_X+corr crushed UI Y to top; SoftSPI uses 0xD1/0x91 linear feed.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-17 18:27:31 +08:00
8a29196a39 Use Sunton 2432S028R official touch map and fix lower-left offset.
Match board JSON X/Y cmds and MIRROR_X; shift UI +45,-45 from red-vs-finger logs.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-17 18:25:34 +08:00
01c52661e4 Restore landscape display and use RNT SoftSPI touch map.
Revert 320x240 create that garbled the panel; map touch to 240x320 like Random Nerd Tutorials.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-17 18:18:28 +08:00
1381c221d9 Align touch and draw in one 320x240 space like CYD LVGL9.
Drop LVGL ROTATION_270 double-transform; SoftSPI rot3 maps directly to screen pixels.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-17 18:14:26 +08:00
3768e545c0 Tag firmware archive with SoftSPI touch fix commit.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-17 18:11:43 +08:00
aa08b23fca Restore SoftSPI touch and exclusive VSPI for SD.
HW SPI remux froze touch at (0,4095) and broke SD; keep temperature UI map plus LVGL inverse feed.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-17 18:10:45 +08:00
156d9cf583 Align touch with temperature XPT2046 driver and LVGL inverse map.
Mux VSPI between SD and touch; map like climate UI then undo ROTATION_270 so buttons hit.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-17 18:07:18 +08:00
d874cb192c Enlarge touch buttons after serial-calibrated axis fix.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-17 18:02:32 +08:00
b09fca956f Calibrate touch from serial logs: invert physical X axis.
Bottom LVGL buttons were mapped to the top; add on-screen logic coordinate debug.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-17 18:01:05 +08:00
86064bca9c Fix double touch rotation so bottom LVGL buttons receive hits.
Report physical 240x320 coordinates and let LVGL apply ROTATION_270.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-17 17:57:57 +08:00
36bf614d11 Restore LVGL touch input with SoftSPI and temperature map.
Bind indev to the display, relax IRQ checks, and keep prebuilt firmware in sync.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-17 17:55:01 +08:00
fe4b085641 Fix touchscreen offset to match temperature calibration.
Apply XPT2046 rotation-2 transform and the same landscape map used by the climate project.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-17 17:48:36 +08:00
b54e36b487 Fix gitignore so .pio stays untracked while firmware bins remain.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-17 17:45:40 +08:00
2a90649059 Add firmware/cyd archive for flash-without-compile.
Mirror the temperature project layout with export and one-click flash scripts.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-17 17:45:32 +08:00
f05c5d6fd2 Rename touch pin macros to avoid TFT_eSPI TOUCH_CS clash.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-17 17:39:16 +08:00
a7a7685fc9 Add touch buttons for speaker toggle and music playback.
Enable SoftSPI touch, replace auto beeps with Speaker ON/OFF and Play Music controls, and document usage.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-17 17:36:54 +08:00
82e1ace24f Add GPIO26 speaker beep and melody test.
Play audio on boot and every 12s via the onboard amp; show status on the LVGL UI and document pins.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-17 17:30:39 +08:00
23956897fa Initial CYD TF card info display with LVGL.
Mount microSD on VSPI and show type, format, and capacity on the CYD screen.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-17 17:29:51 +08:00