Oled display stuck with logo

Hello everybody, I am learning freeRTOS with Arduino Uno board and I have a problem with my 0.91" oled display. When I push example code to arduino everything works fine, display is showing everything. But when I use in my code it is stuck on Adafuirt logo and won't clear it nor draw anything else.

Here is my code on pastebin and can you please help me to debug this? What am I doing wrong? Am I missing something?


The easier you make it to read and copy the code the more likely it is that you will get help

Please follow the advice given in the link below when posting code

Hi, I'm not going to pull anything from an external site like this. please post the code here.
In any event, the fact that the adafruit logo displays shows the display is connected properly and the library is working, and it is initiated.

But I have seen an issue like this before. Make sure you set the text colour. Otherwise it might be displaying but black text on a black background.
Also make sure you are calling display() (otherwise the OLED will do nothing).

Try using these test methods (assuming you have initiated the display as "display":
display.setTextColor(WHITE); //this is often missed!!
display.display(); //this is sometimes missed!!

This topic was automatically closed after 120 days. New replies are no longer allowed.