Changing the default pins for usage of microSD card

I have a microSD adapter that has pins for CS, CLK, MOSI and MISO.
The CS pin can be changed to be whatever digital pin number I want it to be, but it seems that the SCK, MOSI, and MISO have pre-set pin numbers that they are assigned (MOSI - pin 11, MISO - pin 12, CLK - pin 13).

I was wondering if it were possible for me to change the pin numbers for the SCK, MOSI, and MISO from the default numbers to different pin numbers that I choose.

What is your arduino board?

It's an Arduino nano.

The short answer is NO
The Arduino Nano controller has a fixed SPI pins that you can't change.

Okay, thanks for the help.

I know that this is solved. But the big question is why you might want to change those pins?

1 Like

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