View Single Post
Old 04-12-2020, 03:31 PM   #11
dumb person
Senior Member
 
dumb person's Avatar
 
Join Date: Apr 2011
Location: South pacific island
Posts: 1,724
Default Re: CD players look yuck so.... bluetooth!

Quote:
Originally Posted by fortyonerag View Post
^^^^Interesting. Can it play music from the Micro SD in random order?

I prefer not to fill my phone with music, so the SD card option is appealing.
I built one like that once.

Haven't added a random button yet.

I think you add the line

myDFPlayer.randomAll();




under where the code says "//set volume"
to get it to play random tracks. But i'm not entirely sure how that would affect the "play next" buttons.

For someone who hates modern technology it's surprising just how much stuff i derived from these kit set things...
Anyhow, the libraries for the player are say enough to find online. They teach kids to build robots with this stuff.
Attached Images
File Type: jpg basicMP3 2.jpg (72.6 KB, 215 views)
Attached Files
File Type: zip the mp3 file but without the libraries.zip (5.8 KB, 2 views)
__________________
<Link> This is how we roll<Link>

"I'm Convinced that no one really reads posts anymore; they just fabricate what they think the post says then ramble on about red herrings."--Bob
Outcasts rules of old cars
#1 Fun is imperative, mainstream is overrated
#2 If they think it is impossible, prove them wrong
#3 If the science says it impossible you are not being creative enough.
#4 No shame in recreating something you never had
#5 If it were not for the law & physics you would be unstoppable
dumb person is offline   Reply With Quote