- Notifications
You must be signed in to change notification settings - Fork1
JChristensen/Ethernet
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is a modified version of the Arduino Ethernet libraryfrom version 1.8.5 that supports both the WIZnet W5100 and W5200 (e.g. WIZ820io module) chips.
WIZnet previously (ca. Arduino 1.0.5) published modified w5100.h and w5100.cpp files to supportthe W5200herebut these are now incompatible with the Arduino 1.8.5 Ethernet library.
Using the WIZnet w5100.h and w5100.cpp files, patches were extracted andadjusted for Arduino 1.8.5. A change was also made to support theATmega1284/P and ATmega644/A/P/PA microcontrollers.
This repo contains branches for the W5100 and W5200 chips.Recommended installation is to clone the repository into the sketchbook/libraries directory.This will preserve the original Ethernet library installed with theArduino IDE but the one in sketchbook/libraries will take precedence whencompiling sketches. To revert back to the standard library, simply deletethe Ethernet directory under sketchbook/libraries.
To clone the repo from the command line, change to the sketchbook/librariesdirectory and issue the command:
git clone https://github.com/JChristensen/Ethernet
To switch between branches:
git checkout w5100git checkout w5200git checkout master # for the original library from Arduino 1.8.5
Branches can be switched even while the Arduino IDE is running; restartingthe IDE is not necessary. The next compile will use the selected branch.
Check the active branch with:
git branch
With the Arduino Ethernet Shield, this library allows an Arduino board to connect to the internet.
For more information about this library please visit us athttp://www.arduino.cc/en/Reference/Ethernet
Copyright (c) 2010 Arduino LLC. All right reserved.
This library is free software; you can redistribute it and/ormodify it under the terms of the GNU Lesser General PublicLicense as published by the Free Software Foundation; eitherversion 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNULesser General Public License for more details.
You should have received a copy of the GNU Lesser General PublicLicense along with this library; if not, write to the Free SoftwareFoundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA