mirror of
https://github.com/sweidac/kidsbox.git
synced 2026-10-28 06:52:57 +01:00
Play a configured file when rfid-tag is placed on the reader.
This commit is contained in:
1 parent
dffa2e6205
commit
5007de4456
8 files changed
+84
-9
No files matched your search
@@ -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