Skip to main content
Associate II
Solved

STM32F4 with OLED

Hello everyone,

I bought this Oled, can I use the SCK pin to connect I2C, or must I connect SPI?
Many thank.

noname8888_0-1716461881607.png

 

    This topic has been closed for replies.
    AScha.3
    AScha.3Best answer
    Super User

    Hi,

    Its a ssd1306, 128x64 pix , on I2C.

    +

    I used the  u8g lib for it, look on git.

    https://github.com/olikraus/u8glib

     

    or look here:

    https://tenbaht.github.io/sduino/api/Mini_SSD1306/

     

    If you feel a post has answered your question, please click on " Best Answer ".

    2 replies

    Uwe Bonnes
    Chief

    It needs to be connected via I2C. Get the doci to that part and read it.

    AScha.3
    AScha.3Best answer
    Super User

    Hi,

    Its a ssd1306, 128x64 pix , on I2C.

    +

    I used the  u8g lib for it, look on git.

    https://github.com/olikraus/u8glib

     

    or look here:

    https://tenbaht.github.io/sduino/api/Mini_SSD1306/

     

    If you feel a post has answered your question, please click on " Best Answer ".