That looks great! But I really have no experience on how to deal with i2c or SPI.ribasco wrote: ↑Wed Oct 24, 2018 4:30 pmI would recommend the U8g2 library. https://github.com/olikraus/u8g2, It supports many display controllers including SSD1306.
I have made a project to demonstrate how to use this on the Raspberry Pi (see https://github.com/ribasco/u8g2-rpi-demo) with the ST7920 via SPI. Its easy to modify to make it work for SSD1306 via I2C.