PWM backlight control RPI


1 comment

  • Cody J.
    NHD Staff

    Hello Keegan,

    Thank you for your interest in Newhaven Displays!

    We do not have PWM brightness control example code for Raspberry PI 4.

    To learn about RPi4 and PWM, I recommend starting here.

    The frequency generator you linked should work as long as the frequency is set between 5kHz and 100kHz. 

    You can adjust the backlight brightness by adjusting the PWM signal's duty cycle. 100% duty cycle is maximum brightness while 0% duty cycle will turn the backlight OFF.

    See our video on PWM for more information.

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

    Best Regards,

    Cody Johnson


Please sign in to leave a comment.