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?
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!!