Hey everyone. This is probably a very simple problem but I’m having an issue using the #define directive.
I have the following lines:
#elif defined(__AVR_ATmega1280__) || defined(__AVR_ATmega2560__) || defined(SPARK_CORE) ... #else #error "Unsupported processor type!" #endif
I always get the “Unsupported processor type” error. Even if I include my own #define SPARK_CORE 1 at the top of my application.cpp. What the heck am I doing wrong?