GithubHelp home page GithubHelp logo

ethernet_ss_mod's Introduction

Ethernet_SS_Mod

Modified Arduino Ethernet/w5100 library to support user defined slave select pin

I have a project using a Moteino radio and Ethernet shield, but they both use D10 for the Slave Select.
SurferTim modified the Ethernet and w5100 Libraries to support a different slave delect pin. See Arduino forum post: http://forum.arduino.cc/index.php?topic=217423.msg1601862#msg1601862 Originally SurferTim modified ethernet.cpp/.h and w5100.cpp/.h
Then kiwisincebirth made the change so just w5100 files were modified, Ethernet.cpp/.h are unchanged.
See his github repo here: https://github.com/kiwisincebirth/Arduino/tree/master/Ethernet
You can see kiwisincebirth changes here:
w5100.h: https://www.diffchecker.com/yOjNtCLj
w5100.cpp: https://www.diffchecker.com/Mwk773IT

To use, w5100.h and w5100.cpp files need to be replaced with the updated files.

The w5100.cpp and .h files are located
Windows: C:\Program Files(x86)\Arduino\libraries\Ethernet\utility\
Mac: /Applications/Arduino.app > show pkg contents > /Contents/Resources/Java/libraries/Ethernet/src/utility/

Arduino made some changes to Ethernet/w5100 libraries from v1.5.8 to 1.6.6. Changes are shown here:
w5100.h changes: https://www.diffchecker.com/0eUuANWW
w5100.cpp changes: https://www.diffchecker.com/MraUAw03
Ethernet.h changes: https://www.diffchecker.com/Rm37U5zK (added timeout)
Ethernet.cpp changes: https://www.diffchecker.com/C5Vfr5lm (added timeout)

Arduino made some minor changes from w5100 1.6.6 to 1.8.4 (no changes to Ethernet.h/cpp files), mostly changing the name of some constants. You can see those changes here:
w5100.h: https://www.diffchecker.com/RZSHJdTH
w5100.cpp: https://www.diffchecker.com/WDdLcEgv

Here are the changes SurferTim made to the 1.5.8 version of the files:
Ethernet.h https://www.diffchecker.com/V9PzVlbb
Ethernet.cpp https://www.diffchecker.com/lTf9IvhC
w5100.h https://www.diffchecker.com/qFhgWXbQ
w5100.cpp https://www.diffchecker.com/goLkR0sG

Here are the changes kiwisincebirth made to the 1.5.8 version of the files:
w5100.h: https://www.diffchecker.com/Ysg0yhn1
w5100.cpp: https://www.diffchecker.com/klUSxCVV

ethernet_ss_mod's People

Contributors

scott216 avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.