Added some more log messages
This commit is contained in:
@@ -13,6 +13,7 @@ For more information, please refer to <http://unlicense.org/>
|
|||||||
|
|
||||||
void setupAudio() {
|
void setupAudio() {
|
||||||
audio.setPinout(I2S_BLCK, I2S_LRC, I2S_DOUT); // tell the audio library what output pins to use
|
audio.setPinout(I2S_BLCK, I2S_LRC, I2S_DOUT); // tell the audio library what output pins to use
|
||||||
|
Serial.printf("[SETUP] Set up audio card successfully (Pins: BLCK %d | LRC %d | DOUT %d)\n", I2S_BLCK, I2S_LRC, I2S_DOUT);
|
||||||
}
|
}
|
||||||
|
|
||||||
void nextAudio() {
|
void nextAudio() {
|
||||||
@@ -88,7 +89,7 @@ void loopAudio() {
|
|||||||
|
|
||||||
|
|
||||||
void audio_eof_mp3(const char *info){ // MUST HAVE THIS NAME (audio_eof_mp3) because it's a callback function for the Audio.h library
|
void audio_eof_mp3(const char *info){ // MUST HAVE THIS NAME (audio_eof_mp3) because it's a callback function for the Audio.h library
|
||||||
Serial.printf("[Audio.h] EOF_mp3 %s\n", info);
|
Serial.printf("[Audio.h] EOF_MP3 %s\n", info);
|
||||||
nextAudio();
|
nextAudio();
|
||||||
}
|
}
|
||||||
void audio_eof_speech(const char *info){
|
void audio_eof_speech(const char *info){
|
||||||
|
Reference in New Issue
Block a user