adafruit / Adafruit_SSD1306

Arduino library for SSD1306 monochrome 128x64 and 128x32 OLEDs
http://www.adafruit.com/category/63_98
Other
1.74k stars 963 forks source link

Cannot compile for Arduino Nano RP2040 Connect #263

Open CeruleanMars opened 1 year ago

CeruleanMars commented 1 year ago

I have the same issue as @nschurando and @ggerganov. I'm using the Arduino Nano RP2040 Connect with the Arduino Mbed OS Nano Boards package in Arduino IDE 1.8.13. It won't compile with #elif defined(ESP8266) || defined(ESP32) || defined(ARDUINO_ARCH_RP2040) on line 40/41 in the CPP file. Changing that line to #elif defined(ESP8266) || defined(ESP32) fixes the issue.

_Originally posted by @CeruleanMars in https://github.com/adafruit/Adafruit_SSD1306/issues/240#issuecomment-1451984516_