I'm in the development phase using the spe035 module and started with the example code in the editor for the kit.
After a short while I realised that the busy loop that tests if a song or audio file has completed was not actually detecting the end of the file and it was jumping out of the do while loop too early. On examination I see that the SPE035 or more precisely the dfplayer mini busy signal goes high and then back low during playback so I had to introduce a pause a another do while loop to find the true end of the playback file. I would have thought that the example code in the editor would have been fully tested but clearly it is not. I wonder if anyone else has come across this problem?
After a short while I realised that the busy loop that tests if a song or audio file has completed was not actually detecting the end of the file and it was jumping out of the do while loop too early. On examination I see that the SPE035 or more precisely the dfplayer mini busy signal goes high and then back low during playback so I had to introduce a pause a another do while loop to find the true end of the playback file. I would have thought that the example code in the editor would have been fully tested but clearly it is not. I wonder if anyone else has come across this problem?