Dual ethernet ports Due

Dual ethernet ports Due
ORIGINAL POST
By zabaat
components
Hardware Components
details

Dual1.jpg

The reason for all this: I have two other devices that need direct connections to and absolutely will not be able to use a switch (http://forum.arduino.cc/index.php?topic=253038.0)

using the modified libraries https://github.com/Wiznet/W5200_Arduino_Ethernet_Lib for the wiz820io chip I found I am successfully able to connect with a single one to the google homepage download demo.

Now I am trying to add a second wiz820io to my Due, and having difficulty figuring out how to make a separate instance of the Ethernet library that can use another SS pin. It seems that the w5100.h file defines the SS_PIN so I’m not sure how to make another one and then tell the sketch that it needs to make another client using the different hardware.

 

 

documents
Code
zabaat

COMMENTS

Please Login to comment
  Subscribe  
Notify of