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>
19 lines
356 B
C
19 lines
356 B
C
#pragma once
|
||
|
||
// CYD ESP32-2432S028R 引脚
|
||
|
||
// TFT (HSPI / TFT_eSPI 已在 platformio.ini 配置)
|
||
#define TFT_BL_PIN 21
|
||
|
||
// TF / microSD (独立 VSPI)
|
||
#define SD_MISO 19
|
||
#define SD_MOSI 23
|
||
#define SD_SCK 18
|
||
#define SD_CS 5
|
||
|
||
// 板载 SC8002B 功放 → P4 喇叭座(DAC2)
|
||
#define SPEAKER_PIN 26
|
||
|
||
#define SCREEN_WIDTH 240
|
||
#define SCREEN_HEIGHT 320
|