Author Topic: NHD-2.7-12864UCY3 brightness/contrast adjusting  (Read 3040 times)

EK701

  • Jr. Member
  • **
  • Posts: 10
  • Karma: 0
    • View Profile
NHD-2.7-12864UCY3 brightness/contrast adjusting
« on: September 04, 2014, 11:57:57 AM »
Is the 0x81 command the correct one to adjust the brightness/contrast on the NHD-2.7-12864UCY3?  If not, what is?  What is the acceptable range?  0-255? 

Michael_L

  • Administrator
  • Hero Member
  • *****
  • Posts: 356
  • Karma: 33
    • View Profile
Re: NHD-2.7-12864UCY3 brightness/contrast adjusting
« Reply #1 on: September 08, 2014, 09:30:55 AM »
That command, along with the set current range command will control the brightness/contrast.  This can be seen in our datasheet, and in more detail in the controller's datasheet here: http://www.newhavendisplay.com/app_notes/SSD1325.pdf
Page 32 is the start of the command table, and below that are detailed descriptions of each command.

jimmy_sayavong

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Re: NHD-2.7-12864UCY3 brightness/contrast adjusting
« Reply #2 on: January 24, 2016, 04:04:56 PM »
Michael,

I tried your code per the posted file: OLED_25664.txt  and apparently I cold not get the display to be ON at all -- nothing showing up on the display !!.
I check the hardware many times, I am almost certain that the Hardware is fine.  It must be software related issue.
Question for you is regarding the two functions:  void oled_Command_25664(unsigned char Data), and  void oled_Data_25664(unsigned char Data)
I did not see any delay to slow down the SCLK signal at all, it is possible that my CPU might be running too fast for the display?  that is the
only thing that I can think of why it did not work for me.

I am testing the display:  NHD‐2.8‐25664UCB2   

Please advise, and thank you in advance,

JIMMY


Saurabh_B

  • Administrator
  • Hero Member
  • *****
  • Posts: 356
  • Karma: 10
    • View Profile
Re: NHD-2.7-12864UCY3 brightness/contrast adjusting
« Reply #3 on: January 28, 2016, 09:51:31 AM »
Would it be possible to copy your code here?

It might help to see where the issue might be. Also if possible can you also upload your wiring diagram?

 

NHD‐C0220AA‐FSW‐FTW Contrast

Started by mhathawayBoard Character LCDs

Replies: 1
Views: 1903
Last post March 03, 2015, 11:53:43 AM
by Retheesh_M
Contrast supply for NHD‐24064WG‐ATFH‐VZ#

Started by Shaun_CarawayBoard Graphic LCDs

Replies: 2
Views: 3840
Last post May 19, 2014, 10:01:31 AM
by Shaun_Caraway
Backlight brightness with TFT displays (5" and 7")

Started by dsheroBoard TFTs

Replies: 3
Views: 2969
Last post July 21, 2015, 07:19:42 AM
by Michael_L
NHD‐0420CW‐AG3 Contrast question

Started by RichardRBoard OLEDs

Replies: 2
Views: 2174
Last post January 16, 2016, 09:52:02 AM
by RichardR
Parasitic illumination NHD‐2.7‐12864UCY3

Started by HelllisBoard OLEDs

Replies: 0
Views: 405
Last post July 05, 2017, 04:22:56 AM
by Helllis