Files
tftest/include/audio_test.h
DESKTOP-PUHFO60\dsx2016 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

11 lines
229 B
C
Raw 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.
#pragma once
#include <Arduino.h>
void audio_init();
// 短测:三声蜂鸣(开机 / 周期测试)
void audio_play_beep_sequence();
// 简短旋律(约 1.5s)
void audio_play_melody();
const char *audio_last_status();