Skip to content

Explicitly define GPIO Pins for SD Fat MP3 Player #1671

Answered by pschatzmann
weinerschizel asked this question in Q&A
Discussion options

You must be logged in to vote

The pins are pretty much dependent on the processor. For the ESP32 they are usually as described in the README.
As far as I can see, this is consistent with this tutorial

But you can redefine pretty much all pins: Just make sure that you also define any custom cs pin in the constructor of AudioSourceSDFAT.

It is also processor dependent how to define the custom SPI pins. On the ESP32 this can be done with the begin(int8_t sck = -1, int8_t miso = -1, int8_t mosi = -1, int8_t ss = -1) method.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by pschatzmann
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants