Hello. I have the dfplayr with a picaxe 18M2. This is to play a mp3 (20-30 sec. duration) file every 20 minutes. Here below is the code by spe035.pdf for multiple files.
...
For varA = 1 To 9
SerTxd("Play MP3 folder song 000", #varA, CR, LF )
cmd = $12 : arg = varA : Gosub Send
Pause 1000
Do While BUSY_PIN = 0
Pause 100
Loop
Next
Now, the pause 1000 is between the end / start of the next file. How I can define the pause between the start / start of the next file, to have exactly 20 minutes between the starts. Thank you.
link:
...
For varA = 1 To 9
SerTxd("Play MP3 folder song 000", #varA, CR, LF )
cmd = $12 : arg = varA : Gosub Send
Pause 1000
Do While BUSY_PIN = 0
Pause 100
Loop
Next
Now, the pause 1000 is between the end / start of the next file. How I can define the pause between the start / start of the next file, to have exactly 20 minutes between the starts. Thank you.
link: