Description
I trying to use the Ethernet lib (w5100) with the esp8266.
I know that the esp8266 has built in wifi controler, but wired connection are more stable and can provide power using POE. From my point of view the esp8266 is more than wifi.
When i tried to compile :
arduino-1.6.5/libraries/Ethernet/src/Ethernet.cpp: In member function 'int EthernetClass::begin(uint8_t*)':
arduino-1.6.5/libraries/Ethernet/src/Ethernet.cpp:19:45: error: no matching function for call to 'SPIClass::beginTransaction(int, SPISettings)'
SPI.beginTransaction(SPI_ETHERNET_SETTINGS);
This error occur many times.
I have look inside the function signature from the esp8266 SPI.h file :
void beginTransaction(SPISettings settings);
and from the AVR SPI.h file :
inline static void beginTransaction(SPISettings settings) {
The two signature are very close. But each one has is own SPISettings class.
According to the projet homepage, SPI is working. I suppose that the SPISettings class from esp8266 is working. And then i have no other idea how debug this issue.
I'm not a C++ or MCU killer, just an enthusiast user and i have limited knowledge
Thank in advance for help