Author Topic: NHD-2.4-240320CF-CSXN#-F Brightness Adjustment  (Read 82 times)

JonHarrison

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
NHD-2.4-240320CF-CSXN#-F Brightness Adjustment
« on: November 01, 2017, 10:28:18 AM »
I have been trying to adjust the brightness of this 2.4" TFT using the ST7789S controller commands without success.

As a test

    TFT_24_7789_Write_Command(0x0053); /* WRCTRLD Write CTRL display */
    TFT_24_7789_Write_Data(0x24);      /* BCTRL = 1 = brightness register active
                                          DD    = 0 = display dimming is off
                                          BL    = 1 = backlight control is on
                                       */
    for (uint16_t i = 0 ; i < 255 ;)
    {
        TFT_24_7789_Write_Command(0x0051);
        TFT_24_7789_Write_Data(i);
        TFT_delay(1000);
        i += 32;
    }

but there is no change in backlight level. Does anyone have any suggestions about what I'm doing wrong ?

Saurabh_B

  • Administrator
  • Hero Member
  • *****
  • Posts: 355
  • Karma: 10
    • View Profile
Re: NHD-2.4-240320CF-CSXN#-F Brightness Adjustment
« Reply #1 on: November 01, 2017, 11:13:47 AM »
Hello,

For our LCDs you are directly connected to the LEDs, the power is not controlled by the ST7789s.

I would recommend using an external current limiting circuit into the anode for the display.

 

Backlight brightness with TFT displays (5" and 7")

Started by dsheroBoard TFTs

Replies: 3
Views: 2937
Last post July 21, 2015, 07:19:42 AM
by Michael_L
NHD-2.4-240320CF-CTXI#-FT (ST7789S controller) and STM32F4 FSMC LCD Interface

Started by deshayesBoard TFTs

Replies: 1
Views: 2667
Last post March 17, 2016, 06:25:18 PM
by fahad
NHDEV firmware to support NHD-2.4-240320CF-CTXI#-FT (ST7889S controller)

Started by deshayesBoard Evaluation Tools

Replies: 1
Views: 2622
Last post December 17, 2015, 09:52:29 AM
by Saurabh_B
NHD-2.4-240320CF-CSXI#-F minimal wiring for power

Started by enjaianBoard TFTs

Replies: 4
Views: 2836
Last post July 25, 2015, 04:32:22 PM
by enjaian
NHD-2.4-240320CF-CTXI#-FT ribbon cable question

Started by tom66888Board TFTs

Replies: 1
Views: 2183
Last post October 02, 2015, 08:29:03 AM
by Saurabh_B