I am trying to get a small SSD1306 oled display working for a project on my school where we are building a warehouse robot. It is for my college education which i started half a year ago, that’s why i’m not a pro in software yet. I want to display something like “Afstand = %d” with the %d being a int which we need to preset before we press the start button from the robot. is there someone who can help me with the following things were i struggle with:
1: Which library do i need to import to Mbed, and do i have to edit something in these libraries so it works for my display.
2: how do send data to the SSD1306 so it will display the text?
i am using the following display:
and i am using the following Pinout on my F303K8
GND → Gnd
VCC → 3.3V
SCL → D5
SDA → D4
if someone could help me with a small simple code wich displays something will help me alot to understand how these displays work. i have tried the whole day and haven’t got any light of the display which is very frustating. i would be very thankfull.