AnsweredAssumed Answered

How to deal with I2C OLED display with SSD1306?

Question asked by Emilio Andreozzi on May 11, 2017
Latest reply on May 16, 2017 by David Siorpaes

Hi, I'm trying to use an I2C OLED 128x32 display with SSD1306 controller with my Nucleo-L432KC board. Actually I'm using MBED for fast prototyping and I found so many different libraries for SSD1306, so I don't know which is the right one for my display.
Does anyone know how to deal with this display?



I tried to use the SSD1306 library by Jonathan Gaul and I found that the constructor function needs information about "C/S pin", "Reset pin" and others as arguments, but my OLED display has only 4 pins: two power pins and two I2C pins (SDA,SCK), so I really don't know how to deal with it.


I will appreciate any kind of help, thank you in advance!