I've used the Ethernet shield with a few Arduino projects, but I've never used the SD card. I'm looking at a project where I want to use a Leonardo with Ethernet connection and the SD card. I've been doing some reading and I want to make sure I understand how this works.
If I was using an UNO instead of Leonardo, I would need to use digital pins 11, 12 & 13 for SPI communication. Pin 10 and pin 4 would be reserved for CS for the Ethernet and SD Card respectively.
But the Leonardo his separate SPI pins, it doesn't use digital pins 4, 10, 11,12, 13 to communicate with the Ethernet shield and SD card.
So, to use both the Ethernet and SD card with a Leonardo, do I need to do anything special? I
read on this forum that to enable software SPI, I need to change #define LEONARDO_SOFT_SPI 1 in SdFatConfig.h. I'd appreciate any tips and best practices for this configuration.