I have an Arduino Unu with an SD card connected to it. For a technical reason, I needed the Chip Selectpin to be another pin than the one used in an example I found on the internet which worked fine.
The original pin was pin 4 and I wanted it to be pin 5.
In my opinion, the pins seem interchangeable, but I have my doubts.
Can pin 5 be a Chipselectpin? Or do I need to make certain changes in order to get that pin working?
Thank you.
I thought the same.
I only have to change the setting from 4 to 5 in the code.
So no other changes like pullups, output assignment or what so ever?
For some reason I have an SD fail message when booting up.
Can that only happen due to errors in that ChipSelectPin connection?
Or also for other reasons, according to the code above.