
1pcs Shield Ethernet Shield W5100 R3 UNO Mega 2560 1280 328 UNR R3 W5100 Development board
Ethernet W5100 network expansion module, can become a simple Web server or a network control to read and write digital and analog interface and other network applications. IDE can be used directly in the Ethernet library files can be achieved with a simple Web server. Meanwhile, the version supports mini SD card (TF card) reader The expansion board uses a stackable design, it can be directly plugged into the , while our other expansion boards can also plug in to. Code: / * * Web Server * * A simple web server that shows the value of the analog input pins. * / #include byte mac [] = {0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED}; byte ip [] = {192, 168, 0, 15}; Server server (80); void setup () { Ethernet.begin (mac, ip); server.begin (); } void loop () { Client client = server.available (); if (client) { // An http request ends with a blank line boolean current_line_is_blank = true; while (client.connected ()) { if (client.available ()) { char c = client.read (); // If we've gotten to the end o