Hi,
I have been trying to use a 0.91" OLED display with STM32F411CE Blackpill, but it just randomly stops working. I had used this exact code and it worked, but every few days it refuses to work.
#include <ssd1306.h>
void setup() {
ssd1306_setFixedFont(ssd1306xled_font6x8);
ssd1306_128x32_i2c_init();
ssd1306_clearScreen();
ssd1306_printFixed(0, 8, "Normal text", STYLE_NORMAL);
}
I am using the official STM32 Core board manager.
What is the failure timing? Fails to boot at all, fails after some operation, or fails intermittently after some time of operation?
What exactly do you mean, not working? Blank? Distorted? Dim? etc. ...
Can you post a link to the display, please? The Blackpill is easy to look up.
Hardware hasn't yet been suggested as a possible cause. Please post a full wiring diagram (schematic) of the system.
If it is exact, it won't compile. It has no loop() function.
system
Closed
January 15, 2023, 2:01am
4
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.