diff --git a/examples/SimpleAudioPlayerZero/SimpleAudioPlayerZero.ino b/examples/SimpleAudioPlayerZero/SimpleAudioPlayerZero.ino index 4e5f2ff..b3b435f 100644 --- a/examples/SimpleAudioPlayerZero/SimpleAudioPlayerZero.ino +++ b/examples/SimpleAudioPlayerZero/SimpleAudioPlayerZero.ino @@ -56,7 +56,7 @@ void loop() // until the file is not finished AudioZero.play(myFile); - AudioZero.close(); + AudioZero.end(); Serial.println("End of file. Thank you for listening!"); while (true) ; }