-->
Page 1 of 1

WHERE IS "__AVR__" DEFINED OR WHAT IS THE ESP EQUIVALENT?

PostPosted: Sat May 09, 2020 3:03 am
by iosman001
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