Skip to content

Commit

Permalink
Changed the SNTPClient example to use Wiznet 5100 chip
Browse files Browse the repository at this point in the history
  • Loading branch information
njh committed Sep 11, 2016
1 parent 657753a commit 7b80dd1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/SNTPClient/SNTPClient.ino
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
#include <EtherSia.h>
#include "ntp.h"

/** Ethernet Interface (with Chip Select connected to Pin 10) */
EtherSia_ENC28J60 ether(10);
/** Wiznet W5100 ethernet interface (with Chip Select connected to Pin 10) */
EtherSia_W5100 ether(10);

/** Define a UDP socket to send packets from */
UDPSocket udp(ether);
Expand All @@ -36,7 +36,7 @@ void setup() {
MACAddress macAddress("76:73:19:ba:b8:19");

// Setup serial port
Serial.begin(38400);
Serial.begin(115200);
Serial.println("[EtherSia SNTPClient]");
macAddress.println();

Expand Down

0 comments on commit 7b80dd1

Please sign in to comment.