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>
This commit is contained in:
2026-10-17 17:30:39 +08:00
parent 23956897fa
commit 82e1ace24f
8 changed files with 132 additions and 18 deletions

View File

@@ -11,5 +11,8 @@
#define SD_SCK 18
#define SD_CS 5
// 板载 SC8002B 功放 → P4 喇叭座(DAC2)
#define SPEAKER_PIN 26
#define SCREEN_WIDTH 240
#define SCREEN_HEIGHT 320