A PlatformIO display.drawStringf(...) sample for the https://github.com/ThingPulse/esp8266-oled-ssd1306 library
I've compiled and successfully tested this code with a WEMOS 0.66 OLED + WEMOS D1 mini and with a WEMOS 0.66 OLED + LOLIN32 board.