hey
My Ethernet shield is not working
i tried web server example but when i tried to load the page its not loading the page.
i used arduino unoR3 + Ethernet shield
can someone help me to fix this
i tried this code and it gives me this 0.0.0.0 and sometimes 255.255.255.255
(this code is a testing code)
#include <SPI.h>
#include <Ethernet.h>
byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED };
IPAddress ip(192,168,2,2);
void setup() {
Serial.begin(9600);
// disable SD SPI
pinMode(4,OUTPUT);
digitalWrite(4,HIGH);
// Start ethernet
Serial.print(F("Starting ethernet..."));
Ethernet.begin(mac, ip);
Serial.println(Ethernet.localIP());
delay(2000);
Serial.println(F("Ready"));
}
void loop() {
}