WHERE IS "__AVR__" DEFINED OR WHAT IS THE ESP EQUIVALENT?
Posted: Sat May 09, 2020 3:03 am
Hello,
I'm learning to create libraries to ESP8266 to use in Arduino IDE.
Lot of code has, by example:
#if defined(__AVR__)
#include <TFT_Arduino_Mega.h>
#else
#include <TFT_Arduino.h>
#endif
where is "__AVR__" defined and/or where is the equivalent to the ESP board?
thanks
iosman
I'm learning to create libraries to ESP8266 to use in Arduino IDE.
Lot of code has, by example:
#if defined(__AVR__)
#include <TFT_Arduino_Mega.h>
#else
#include <TFT_Arduino.h>
#endif
where is "__AVR__" defined and/or where is the equivalent to the ESP board?
thanks
iosman