can i change the pins used in SD lib?

Hi i am using an Arduino Motors shield v3, for driving a stepper motor now i would like to have it move according to data stored on an SD card. adding an SD shield and using the SD lib, there is some interference with the pins. (11,12,13) Is it possible to change the SPI pins used by SD lib to other pins?

Is it possible to change the SPI pins used by SD lib to other pins?

No. SPI is a hardware function dedicated to those three pins.

The SPI pins can be shared, well behaved libraries should have a chip select pin as well that tells the devices when it’s talking to it and it should ignore anything on the SPI bus when it’s not selected.

The SPI pins can be shared

To do SPI with multiple SPI devices, yes. They can not be shared as in used to PWM or set direction for a motor shield. There are limits to sharing.