I would like to know where I can change the slave select pin values for the ethernet shield and sd card in the libraries.
I would like to alternate pins than the defaults.
I know about keeping the NSS pin as output, 10/53..
Thanks
I would like to know where I can change the slave select pin values for the ethernet shield and sd card in the libraries.
I would like to alternate pins than the defaults.
I know about keeping the NSS pin as output, 10/53..
Thanks
<WARANTY WARNING!>
you can bend the SS pins of the shield a bit and connect it to any other. By far the easiest way and if done carefully it can be undone too.
<WARANTY WARNING!>
Be sure the ethernet shield is the top shield
I found where to change the sd card pin in 'Sd2PinMap.h'
uint8_t const SS_PIN = 53;
I can't seem to find where to change it in the ethernet library
try - C:\Program Files (x86)\arduino-1.0\libraries\Ethernet\utility\w5100.h - [windows path] - at the end there is a hardcoded initSS() depending on the MCU.