PlatformIO Community

Adafruit Library Conflicts SSD1306 and Neopixel

Hello,
I am working in PlatformIO on an ESP32 project where I am driving an SPI SSD1306 as well as a single Neopixel. Additionally I am using Serial1 to do http requests. My preferred method for driving these devices would be to use the following libraries…

  • Adafruit GFX Library
  • Adafruit SSD1306
  • Adafruit NeoPixel

Individually the libraries work great. When I go to use the Display and the Neopixel at the same time, there seems to be a conflict and nothing happens. There are posts online about memory usage and the like, but I don’t think that is the problem. I feel there might be shared pins or Serial interfaces under the hood that might be getting reallocated at runtime. My current workaround is not as elegant but it works.

  • FastLED
  • U8g2

If you have been using the Adafruilt libraries in conjunction please let me know of any special setup or shared resources I need to know about.

Joe