Fixes define checking updated. Example folders created.#21
Conversation
|
Hi guys! This is a great library but I'm stuck with this part of definition. Any progress on this? Even if I add #define ESP8266 at the top of my .ino file, when compiled I have:
To get rid of this I manually remove the checking parts and only include the ESP library, but it's a terrible hack.. Thanks. |
|
the error was here : !defined(ENC28J60)ENC28J60) I fixed it Thanks |
|
Thanks! I'll try this tonight |
|
Shouldn't it be && instead of || when checking the defined interface? For my understanding it should compile with just one #define according with the hardware. At least I have changed it with && and it now compiles fine. |
|
I thought I had fixed it glad you are enjoying this library |
The defines were updated to check for 3 options and if none were defined to throw an error.
The library doesn't show up in the Arduino IDE because the INO files were no in there own folders. That information is now in place.
I tested the code compiles with the huzzah esp8266 board.