Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By pfeerick
#80295 In other words, is there a define like ARDUINO_ESP8266_VERSION that can be used if writing any code needs to behave differently depending on the version of the ESP8266 Arduino core being used? I vaguely seem to think there was, but I could be confusing this with the define for the Arduino IDE version...

i.e.
#if ARDUINO_ESP8266_VERSION >= 230
//do something the v2.3.0 or earlier way
#elif ARDUINO_ESP8266_VERSION >= 240
//do something the v2.4.0 way
#else
//do something post 2.4.0 way
#endif