# W5500 Ethernet card

**URL:** <https://forum.xod.io/t/w5500-ethernet-card/990>\
**Category:** Hardware Interfacing Questions\
**Created:** [July 29, 2018, 2:32am UTC](https://forum.xod.io/t/w5500-ethernet-card/990 "2018-07-29T02:32:03Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![unmannedair](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/unmannedair/32/420_2.png) [@unmannedair](https://forum.xod.io/u/unmannedair)\
**Post date:** [July 29, 2018, 2:32am UTC](https://forum.xod.io/t/w5500-ethernet-card/990/1 "2018-07-29T02:32:03Z")

</div>

Hi, so I like the concept of xod, and I like the idea that this will let me iterate quickly.  
However, I don’t yet understand how I can take something like the w5500 libraries and create a custom node. I’ve already written some of the code I want in normal C++, but am completely confused how to translate this to a patch based system. I guess more specifically… Is there a way to Auto generate node types from class architecture in the normal C++ libraries?  
If I have to manually write it myself… Not great, but doable.

---

<div class="post-metadata">

**Author:** ![unmannedair](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/unmannedair/32/420_2.png) [@unmannedair](https://forum.xod.io/u/unmannedair)\
**Post date:** [July 30, 2018, 2:13am UTC](https://forum.xod.io/t/w5500-ethernet-card/990/2 "2018-07-30T02:13:10Z")

</div>

update: I found the w5500 node. and have figured out that auto generation can’t be a thing… yet.  
Looks like I’ll be creating a bunch of new nodes for myself then.  
Is there somewhere I can see a tutorial on how to use Github, or some other thing to share my sensor nodes?  
Never going to become popular if I keep my code to myself… 😉

---

<div class="post-metadata">

**Author:** ![gweimer](https://avatars.discourse-cdn.com/v4/letter/g/a9adbd/32.png) [@gweimer](https://forum.xod.io/u/gweimer)\
**Post date:** [July 30, 2018, 4:24am UTC](https://forum.xod.io/t/w5500-ethernet-card/990/3 "2018-07-30T04:24:45Z")

</div>

You can use File \> Publish Library to make a project available for everyone to use. Generally, libraries do not have a main node, but just a collection of nodes to re-use. One or more test nodes can also be included to demonstrate how the other nodes can be used.

---

<div class="post-metadata">

**Author:** ![mlconti](https://avatars.discourse-cdn.com/v4/letter/m/848f3c/32.png) [@mlconti](https://forum.xod.io/u/mlconti)\
**Post date:** [March 29, 2020, 11:10pm UTC](https://forum.xod.io/t/w5500-ethernet-card/990/4 "2020-03-29T23:10:29Z")

</div>

Any Help on why I am getting this error - just installed XOD - love the concept…

Begin compiling code for the board Arduino Mega ADK 📦

Using board ‘megaADK’ from platform in folder: C:\Users\Michael C\xod\__packages_\_\packages\arduino\hardware\avr\1.8.1  
Using core ‘arduino’ from platform in folder: C:\Users\Michael C\xod\__packages_\_\packages\arduino\hardware\avr\1.8.1

Detecting libraries used…

“C:\Users\Michael C\xod\ **packages** \packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino5/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF\_CPU=16000000L -DARDUINO=10607 -DARDUINO\_AVR\_ADK -DARDUINO\_ARCH\_AVR “-IC:\Users\Michael C\xod\ **packages** \packages\arduino\hardware\avr\1.8.1\cores\arduino” “-IC:\Users\Michael C\xod\ **packages** \packages\arduino\hardware\avr\1.8.1\variants\mega” “C:\Users\MICHAE~1\AppData\Local\Temp\arduino-sketch-3B7DED18AA89A92C03E70B6A169BFEF8\sketch\xod\_1585523236690\_sketch.ino.cpp” -o nul

C:\Users\MICHAE~1\AppData\Local\Temp\xod\_temp\_sketchbookoWrou1\xod\_1585523236690\_sketch\xod\_1585523236690\_sketch.ino:1091:10: fatal error: ESP8266WiFi.h: No such file or directory  
#include \<ESP8266WiFi.h\>  
^ ~~~~~~~~~~~~~~  
compilation terminated.

Alternatives for ESP8266WiFi.h: []  
ResolveLibrary(ESP8266WiFi.h)  
-\> candidates: []

Error: exit status 1  
Compilation failed.  
Compilation failed  
Command Process exited with code 1  
The generated C++ code contains errors. It can be due to a bad node implementation or if your board is not compatible with XOD runtime code. The original compiler error message is above. Fix C++ errors to continue. If you believe it is a bug, report the problem to XOD developers.

---

<div class="post-metadata">

**Author:** ![gweimer](https://avatars.discourse-cdn.com/v4/letter/g/a9adbd/32.png) [@gweimer](https://forum.xod.io/u/gweimer)\
**Post date:** [March 30, 2020, 1:36pm UTC](https://forum.xod.io/t/w5500-ethernet-card/990/5 "2020-03-30T13:36:16Z")

</div>

> [@mlconti](#):
>
> Any Help on why I am getting this error - just installed XOD - love the concept…

1. You should start your own thread instead of adding new topics to old threads.
2. The reason compile failed is “ESP8266WiFi.h: No such file or directory”. The reason XOD could not find that is not so obvious. You can search for that filename under C:\Users\Michael C. If it exists, a likely problem is that your username has a space in it & that is breaking XOD’s search for it.

---

<div class="post-metadata">

**Author:** ![mlconti](https://avatars.discourse-cdn.com/v4/letter/m/848f3c/32.png) [@mlconti](https://forum.xod.io/u/mlconti)\
**Post date:** [March 30, 2020, 2:43pm UTC](https://forum.xod.io/t/w5500-ethernet-card/990/6 "2020-03-30T14:43:04Z")

</div>

Can you tell why it is looking for an ESP… related file when i am using a MEGA? I will see if that exist but I am not sure what it has to do with a device that is not present in the project.

---

<div class="post-metadata">

**Author:** ![gweimer](https://avatars.discourse-cdn.com/v4/letter/g/a9adbd/32.png) [@gweimer](https://forum.xod.io/u/gweimer)\
**Post date:** [March 30, 2020, 2:44pm UTC](https://forum.xod.io/t/w5500-ethernet-card/990/7 "2020-03-30T14:44:39Z")

</div>

Did you select MEGA device when doing download? If so, do you have any nodes in your patch trying to use the wifi?
