Where is "__AVR__" defined or what is the ESP equivalent?
Posted: Fri Apr 24, 2015 7:44 am
Hi,
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 a lot,
Ribeiro
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 a lot,
Ribeiro