diff --git a/examples/graphicstest_featherwing/graphicstest_featherwing.ino b/examples/graphicstest_featherwing/graphicstest_featherwing.ino index 9422a18..1907987 100644 --- a/examples/graphicstest_featherwing/graphicstest_featherwing.ino +++ b/examples/graphicstest_featherwing/graphicstest_featherwing.ino @@ -21,7 +21,7 @@ #define TFT_CS 0 #define TFT_DC 15 #define SD_CS 2 -#elif defined(ESP32) +#elif defined(ESP32) && !defined(ARDUINO_ADAFRUIT_FEATHER_ESP32S2) #define STMPE_CS 32 #define TFT_CS 15 #define TFT_DC 33 diff --git a/examples/touchpaint_featherwing/touchpaint_featherwing.ino b/examples/touchpaint_featherwing/touchpaint_featherwing.ino index 4fc38c1..e641f09 100644 --- a/examples/touchpaint_featherwing/touchpaint_featherwing.ino +++ b/examples/touchpaint_featherwing/touchpaint_featherwing.ino @@ -24,7 +24,7 @@ #define TFT_CS 0 #define TFT_DC 15 #define SD_CS 2 -#elif defined(ESP32) +#elif defined(ESP32) && !defined(ARDUINO_ADAFRUIT_FEATHER_ESP32S2) #define STMPE_CS 32 #define TFT_CS 15 #define TFT_DC 33