Added comments to WebClient example

This commit is contained in:
Tom Igoe 2010-07-25 16:28:30 +00:00
parent 19e73b18a7
commit 92f193d66d
1 changed files with 4 additions and 7 deletions

View File

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