OpenSprinkler Forums Comments, Suggestions, Requests Opensprinkler on ESP8266 Reply To: Opensprinkler on ESP8266

#46594

avgjoe
Participant

Paolo,

Where should the top level defines be? For example, I don’t see “#define ESP8266” anywhere. Are there any other defines that are expected but not set in your original code?

After replacing my working pins.h with your new version. I am seeing an unexpected compile error. I am trying to figure it out.

———————————–normal above——————————————
C:\Users\jburbano\AppData\Local\Temp\buildd53f635b949cbb8bc7cb5900f94f9aac.tmp\sketch\EtherCardW5100.cpp: In static member function ‘static bool EtherCardW5100::staticSetup(const uint8_t*, const uint8_t*, const uint8_t*, const uint8_t*)’:

EtherCardW5100.cpp:444: error: ‘result’ was not declared in this scope

if (result) {

^

EtherCardW5100.cpp:458: error: ‘result’ was not declared in this scope

return result;

^
—————————————————more————–