I've just changed the code to reflect the router IP alone but still no connection.
#include <SPI.h>
#include <Ethernet.h>
byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED };
byte ip[] = { 192,168,254,30 }; //Router IP
byte server[] = { 74,125,225,148 }; //Google
EthernetClient client;
void setup()
{
Serial.begin(9600); //start the serial library
Ethernet.begin(mac,ip);
delay(1000); //give the ethernet hardware a second to initialize
Statistics : Posted by rychner • on Mon Feb 10, 2014 6:07 am • Replies 2 • Views 11
#include <SPI.h>
#include <Ethernet.h>
byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED };
byte ip[] = { 192,168,254,30 }; //Router IP
byte server[] = { 74,125,225,148 }; //Google
EthernetClient client;
void setup()
{
Serial.begin(9600); //start the serial library
Ethernet.begin(mac,ip);
delay(1000); //give the ethernet hardware a second to initialize
Statistics : Posted by rychner • on Mon Feb 10, 2014 6:07 am • Replies 2 • Views 11