Permalink
Browse files

Update chapter-7/WebPageSketchSnippets

  • Loading branch information...
1 parent fd73fa6 commit a9de93dbe2d4527850fdf401d124d55b04949d64 @ejgertz committed Dec 1, 2011
Showing with 0 additions and 12 deletions.
  1. +0 −12 chapter-7/WebPageSketchSnippets
@@ -7,37 +7,25 @@
// the sensor communicates using SPI, so include the library:
#include <SPI.h>
-
-
// replace the Xs with the MAC address of your Ethernet Shield:
byte mac[] = { 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX };
-
// provide an IP address for your Ethernet shield. The IP address below _might_ work:
byte ip[] = { 192, 168, 1, 110 };
-
-
-
-
-
//Insert these lines of code at the top of the _setup()_ function:
-
Ethernet.begin(mac, ip);
server.begin();
-
//Add this line of code to the bottom of the loop() function:
-
listenForClients();
//Add the following function to the bottom of the sketch:
-
void listenForClients() {
// listen for incoming clients
Client client = server.available();

0 comments on commit a9de93d

Please sign in to comment.