I am having trouble getting the SD card and an ethernet client working at the same time using the Arduino SD and EthernetIndustruino libraries. I can get them to work independently, just not together. Also I am using pin 15 for the Chip Select, is that correct?
Thanks for the help!
Reposting this as an 'answer'... I didn't have enough karma to convert or delete the comment :(
Thanks, I was able to get the Ethernet and SD working at the same time but am having trouble incorporating a 4-20 mA sensor.
If I call Indio.analogRead() and access the SD in the same sketch after uploading the Industruino stops being recognized by my PC and I have to upload a blank sketch while booting before it will work again.
Just to clarify, I should only need to set the chip select pins in the setup when I initialize each of them, correct? Thank you!
The chip select pins for the ethernet expansion module are as follows:
Ethernet D10, Micro-SD D4, FRAM D6
So best to set these all these to HIGH in your Setup routine, and then set only one at the time to LOW to activate the relevant peripheral.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!