I've been trying to compile just a simple example from Paul Stoffregen's new ethernet library with the ESP8266, and I'm having trouble. I copied and pasted the library into a few places:
- C:\Program Files (x86)
- That weird %Apps/ESP8266 folder
I can see which Ethernet library it's using from the compile message "multiple libraries found, using...", so I make sure to remove the old Ethernet library and put in the new one there. But I keep getting compile error on this line:
Ethernet.init(15); // ESP8266 with Adafruit Featherwing Ethernet
The old library didn't have an init function, but the new one does.
The error saids that there's no function .init in EthernetClass. So I think Arduino isn't using the correct library, even though I specifically deleted and replace the Ethernet library in where it saids it's using for compile.
I'm pretty ignorant about how the Arduino IDE handles libraries. There seems to be libraries scattered about. Is there a trick to using the correct library? Can you be more specific with the include statement?