Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

W5500 compatibility #71

Open
agnunez opened this issue Feb 23, 2016 · 2 comments
Open

W5500 compatibility #71

agnunez opened this issue Feb 23, 2016 · 2 comments

Comments

@agnunez
Copy link

agnunez commented Feb 23, 2016

Hi,
Using Webduino for years now without issue, but there was one UNO with hw problem and was replaced by a new one with W5500 ethernet shield, and Webduino does not work. Any news about Webduino compatibility with Wiznet W5500 ethernet chip/shield?
Thanks

@unwiredben
Copy link
Collaborator

I've no personal experience with the W5500 and haven't really worked on this code for a few years. I'd welcome a compatibility patch, but don't plan on doing that myself.

@t30
Copy link

t30 commented Jun 27, 2016

I solved removing this line:
https://github.com/sirleech/Webduino/blob/master/WebServer.h#L32

You will need to include Ethernet.h or Ethernet2.h in your sketch, see below example:

#if defined BUILD_COMM_ETH  
  #define WEBDUINO_FAVICON_DATA "" // no favicon
  #include <SPI.h>
  #include "avr/pgmspace.h" // new include
  #include <Ethernet.h>
//  #include <Ethernet2.h>
  #include "WebServer.h"
#endif

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants