mirror of
https://github.com/sweidac/kidsbox.git
synced 2025-07-28 03:41:54 +02:00
Play a configured file when rfid-tag is placed on the reader.
This commit is contained in:
@@ -7,6 +7,8 @@
|
||||
AudioPlayer::AudioPlayer() {
|
||||
playerHandle = setup_player(NULL, NULL);
|
||||
esp_player_init(playerHandle);
|
||||
|
||||
esp_audio_vol_set(playerHandle, 10);
|
||||
}
|
||||
|
||||
void AudioPlayer::play(char* uri) {
|
||||
|
Reference in New Issue
Block a user