SSD1322 problem

Hi,
I am having a problem with arduino Nano and OLED display with SSD1322 driver. After wiring up the
display, it shows "Hello World" all the time, no matter what I type in code.
My code:

#include <Arduino.h>
#include <U8g2lib.h>
#include <SPI.h>

//U8G2_SSD1322_NHD_256X64_1_4W_SW_SPI u8g2(U8G2_R0, /* clock=*/ 13, /* data=*/ 11, /* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8);
U8G2_SSD1322_NHD_256X64_1_4W_HW_SPI u8g2(U8G2_R0, /* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8);	
void setup() 
{
  u8g2.begin();
  u8g2.firstPage();
  do
  {
    u8g2.setFont(u8g2_font_ncenB14_tr);
    u8g2.drawStr(0,20,"AAAAAAA");
    u8g2.clear();
  }while(u8g2.nextPage());
}

void loop() 
{
  // put your main code here, to run repeatedly:
 }

If you type AAAAAA... it shows "Hello World" all the time????

Yes, originally I wrote hello world but later when I changed it for something else it was still showing hello world. My guess is “hello world” is saved in display’s memory, but I don’t know if I wrote it inside it or the display came to me with phrase already in memory.

Check your connections and if possible change the cables.

I've found the problem. My nano is not updating program thats running on it when i upload it. Thats why it shows the same text all the time, but i dont know how to fix it.

I've changed from nano to uno and now its not showing anything.

Please post any warnings & errors in the bottom half of the Arduino screen you receive when the code upload fails.

Code works on UNO, display works properly. I guess my nano fried or something.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.