How do you loop a track / Arduino board driving the Tsunami through Qwiic (which works!!).
This code plays the track once. Want to loop continuously.
bool enableloop = true;
(some additional code)
tsunami.trackPlayPoly(25, 0); // Start background audio track
tsunami.trackLoop(25, enableloop);
Thanks,
-Greg
I think the easiest way is to use the loop function https://static1.squarespace.com/static/ … 230114.pdf - if you want both single play and looping for a track, you could copy the same wav, rename it, and then have one trigger the looping version and another trigger for the singe-play
Thanks.
I was able to find the example codes which includes the loop function.
Turns out that (contrary to another written source) the loop statement must be before the playpoly statement. Works great once the statement order was changed.
BR.