1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-17 22:23:10 +03:00

Added comments to WebClient example

This commit is contained in:
Tom Igoe
2010-07-25 16:28:30 +00:00
parent 19e73b18a7
commit 92f193d66d

View File

@ -1,5 +1,5 @@
/* /*
Web client Web client
This sketch connects to a website (http://www.google.com) This sketch connects to a website (http://www.google.com)
using an Arduino Wiznet Ethernet shield. using an Arduino Wiznet Ethernet shield.
@ -15,12 +15,9 @@
// Enter a MAC address and IP address for your controller below. // Enter a MAC address and IP address for your controller below.
// The IP address will be dependent on your local network: // The IP address will be dependent on your local network:
byte mac[] = { byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED };
0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED }; byte ip[] = { 192,168,1,177 };
byte ip[] = { byte server[] = { 173,194,33,104 }; // Google
192,168,1,177 };
byte server[] = {
173,194,33,104 }; // Google
// Initialize the Ethernet client library // Initialize the Ethernet client library
// with the IP address and port of the server // with the IP address and port of the server