Quantcast
Channel: Forum - Recent Threads
Viewing all articles
Browse latest Browse all 5781

Change LCD brightness dinamically

$
0
0

Hello,

in our HMI application, we need to dinamically change the LCD brightness (e.g. inside a Setup Menu). At every increasing/decreasing brightness event, I call the g_pwm_backlight.p_api->dutyCycleSet function as follows:

g_pwm_backlight.p_api->dutyCycleSet(g_pwm_backlight.p_ctrl, brightness_level, TIMER_PWM_UNIT_PERCENT, 0);

where brightness_level is a uint8_t variable with values between 10 and 100.

The probelm is that it seems that call has no effect: the brightness of the LCD does not change. Is there something I am missing?

Thank you in advance.


Viewing all articles
Browse latest Browse all 5781

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>