PWM backlight control

Comments

1 comment

  • Cody J.
    NHD Staff

    Hello Randy,

    Yes, NHD-4.3CTP-SHIELD does have PWM backlight control via the FT801 IC.

    Using the FTDI_FT801 Arduino library, write to the REG_PWM_DUTY register to adjust the display's backlight. Keep in mind the range for this register is 0-128.

    Documentation for this register can be seen on page 26 of the FT801 Embedded Video Engine datasheet.

    An example can be found in the Settings() function of the washing machine application. Brightness is adjusted on line 769.

    A fade in backlight effect can be seen in the sample application in the SAMAPP_fadeout() and SAMAPP_fadein() functions.

    If you have any questions, don't hesitate to ask.

    Best Regards,

    Cody J.

    0

Please sign in to leave a comment.