I have a small circuit, and use a shift register (74HC595) to help add output ports to drive an LCD display.
As far as I have found, the latch pin can be connected to any digital pin, and I have it connected to pin 10.
However the other 2 input pins require connections to the Arduino on pin 11 and 13, and as far as I am aware these cannot be changed? If this assumption is incorrect please let me know.
Now I also wish to connect an SD card reader with the Arduino, and this requires a connection on pin 11 (MOSI) and pin 13 (SCK).
I have tried connecting it to the same track as the shift register on the breadboard and it all seems to work.
I was just wondering if this is bad practice or if anything could go wrong. Also as the MOSI and SCK pins can't be changed is it possible to move the shift register pins or not? I'm guessing NO as presumably they rely on the internal hardware too but would appreciate some clarification.