ESP32 Thing plus truncated display with 1306 oled

I recently purchased an ESP32 thing plus and moved my project from a generic ESP32 which was working fine with the 128x32 display. First the original project used gpio pins 22 and 21 but the Thing plus shows the SDA on 23. This didn’t work at all so I moved from pin 23 over to 21 and the display seemed to work but the top and bottom lines are cut off. I am using Visual Studio on my mac and was wondering if there is a library issue that is required to get this board to illuminate all the available lines? The example code for use with the arduino IDE seems to match what I put together that works fine with my generic ESP32 modules so I can only assume that something has to be missing.

This code uses a web socket and I discovered that I had to run the OLED writing code in the second core which as I said, works fine on my generic ESP modules.

There could be an incompatibility between the library and the display.

Have you tried with an Arduino Uno? The library and example code for that work. You could test the display with an Uno and if it’s not working there, the display is likely faulty.

I didn’t need to I have ESP32 modules from another vendor and they work fine as does the display. The problem seems to be with the Sparkfun module.