Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - balazs

Pages: [1]
OLEDs / Issue about drawing on NHD-1.27-12896UGC3
« on: February 18, 2018, 05:13:14 AM »
Dear All,

I am using type NHD-1.27-12896UGC3 in my current project but unfortunatelly experiencing issues with addressing the pixels. I seems like the display origin is not in the top left corner, but in the bottom left corner.

So I am initializing the display with the sequence given in the datasheet. After the initialization I set the starting and ending column and row addresses with the following code:

Displ_Command(0x15);      //Column addresses
   Displ_Data(0); //This is the start point
   Displ_Data(19);  //this is the end point for the column
   Displ_Command(0x75);      //Row adresses

After I have set them I am sending the pixel data to the display with the following code:

Displ_Command(0x5C);      //RAM-ba írás
   for(uint8_t i=0; i<20; i++)
      for(uint8_t j=0; j<27; j++)
         Displ_Data((ZeroR[j])>>2);  //ZeroR array contains the RGB pixel values for the number zero

When I send number nine to the display, than it appears on the screen like on the attached picture. It seems like the nine is drawn from the bottom towards to top so that it seems like a flipped six. I tried to illuminate the pixel at (0;0) point, and pixel az the bottom left corner was that.

I have cheched the setup sequence multiple times as well as the available commands, but I have not found the reason for this. I would like the display to draw the pixels from top to bottom and from left to right.

Do you have any idea why I am experiencing these issues? Have you ever experienced this?

Thank you very much for your help in advance!

Pages: [1]