I've been successfully running the OLED SSD1306 library on my ESP32 project. Due to the timing of the main loop() on CORE1, I'd like to move the code that updates the OLED display to CORE0. (I'm only sending text updates to the display). If I leave it running in CORE1, it slows down the timing of my code on CORE1 every time it updates the display.
But if I use xTaskCreatePinnedToCore to create a process that runs on CORE0, updating the OLED no longer interrupts the main loop timing, but the OLED displays mostly garbage.
Can anyone suggest how to get the OLED library to properly update the display when pinned to CORE0? I'm using the Arduino IDE.