|
|
@ -266,18 +266,18 @@ void setup () {
|
|
|
|
Serial.begin(9600);
|
|
|
|
Serial.begin(9600);
|
|
|
|
Serial.println("Setup enter...");
|
|
|
|
Serial.println("Setup enter...");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Serial.println("Start W5100 configuration...");
|
|
|
|
|
|
|
|
|
|
|
|
SPI.begin();
|
|
|
|
SPI.begin();
|
|
|
|
|
|
|
|
|
|
|
|
Wiz810MjDevice WIZ810MJ = Wiz810MjDevice(PIN_RESET);
|
|
|
|
Wiz810MjDevice WIZ810MJ = Wiz810MjDevice(PIN_RESET);
|
|
|
|
|
|
|
|
|
|
|
|
Serial.println("Test W5100 configuration...");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
NetworkInterface Network = NetworkInterface(WIZ810MJ);
|
|
|
|
NetworkInterface Network = NetworkInterface(WIZ810MJ);
|
|
|
|
|
|
|
|
|
|
|
|
Network.device.setIp(192,168,2,105);
|
|
|
|
Network.device.setIp(192,168,2,105);
|
|
|
|
Network.device.setMask(255,255,255,0);
|
|
|
|
Network.device.setMask(255,255,255,0);
|
|
|
|
|
|
|
|
|
|
|
|
Serial.println("End test W5100 configuration...");
|
|
|
|
Serial.println("End W5100 configuration...");
|
|
|
|
|
|
|
|
|
|
|
|
pinMode(PIN_LED, OUTPUT);
|
|
|
|
pinMode(PIN_LED, OUTPUT);
|
|
|
|
digitalWrite(PIN_LED, HIGH);
|
|
|
|
digitalWrite(PIN_LED, HIGH);
|
|
|
|