Newhaven Display Forum

Newhaven Products => OLEDs => Topic started by: psullivan on July 24, 2015, 08:18:01 AM

Title: NHD-0220CW-AY3 Upside down text
Post by: psullivan on July 24, 2015, 08:18:01 AM
Which side is the top of a NHD-0220CW-AY3? The only indication of orientation I can find is the picture on the product page. I am using one right now and the bottom of the text is facing the 20 pin connector which is opposite of what is shown on the website. (See attached photo)

Title: Re: NHD-0220CW-AY3 Upside down text
Post by: Saurabh_B on July 24, 2015, 09:06:33 AM
Hi psullivan,

That display does like flipped upside down, and it shouldn't be.

I was wondering if you could possibly also post a picture of the back of that display, and your code.
Title: Re: NHD-0220CW-AY3 Upside down text
Post by: psullivan on July 24, 2015, 09:21:29 AM
Picture of back attached. Not sure if I can post my code, I will have to check. Is there even a way to flip the display through software?

Title: Re: NHD-0220CW-AY3 Upside down text
Post by: Saurabh_B on July 24, 2015, 10:28:00 AM
Ok, I was able to replicate this issue thanks to Paul.

There is a command to let you flip the direction and orientation of the characters.

Check to see if you are sending a command(0x05) in your initialization after sending a (0x2A), that sets the screen Upside down.

If you want a quick fix, try adding
Code: [Select]
  command(0x2A);
  command(0x06);
  command(0x28);

at the end of the initialization, that should do it.