Changing the SD card SS pin

Hello

I have a project where I need to use a different pin for the SD card SS (CS?) connection (pin usage clash).

I am using the SD.h library.

I have found the pin allocations in 'Sd2PinMap.h', but didn't really want to change them in there if I could help it (it will break other projects).

Is it possible to re-declare the SS pin pin allocation from the one declared in Sd2PinMap.h, within your programming at the start?
If it is, I cannot find such a command line.

Thanks!

SD.begin(CS_PIN);

Well thank you. I will try that tonight.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.