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
QuoteI read on this forum that to enable software SPI, I need to change #define LEONARDO_SOFT_SPI 1 in SdFatConfig.hSo? Why do you think you need to use software SPI when there is a perfectly good hardware SPI available?
I want to free up some I/O pins so I can use them for sensor inputs.
QuoteI want to free up some I/O pins so I can use them for sensor inputs.How is software SPI going to accomplish that?
is that the case?
Quoteis that the case?The way I read it, hardware SPI does not use pins 11, 12, and 13 on the Leonardo. Pins 4 and 10, the slave select pins, are still used. Software SPI would tie up several pins, though not necessarily 11, 12, and 13.I'm not convinced that software SPI is suitable for the Ethernet shield, since it is hardwired to the SPI pins.
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16