Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backlight intensity set at 50% shows random pixels at startup/init #162

Open
JoDaNl opened this issue Apr 30, 2024 · 1 comment
Open

Backlight intensity set at 50% shows random pixels at startup/init #162

JoDaNl opened this issue Apr 30, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@JoDaNl
Copy link

JoDaNl commented Apr 30, 2024

During power-up my code calls smartdisplay_init() to set-up the display.,
At that moment in time the display buffer contains random pixels...and the display is set to 50% intensity.

smartdisplay_lcd_set_backlight(0.5f);

This causes at startup a visible flicker of the display.

My preference would be:

  • smartdisplay_init() sets the lcd-backlight to 0.0 , so off
  • after the first call to lv_timer_handler() the display-buffer contains valid information
  • I then set (once) the lcd-backlight to 1.0 i.e. 100%

This gives a visually better start-up of my system.

regards, Jos

@rzeldent rzeldent self-assigned this May 7, 2024
@rzeldent rzeldent added the enhancement New feature or request label May 7, 2024
@rzeldent
Copy link
Owner

rzeldent commented May 7, 2024

Maybe clearing the screen and then enabling the backlight? That could be a simple compromise?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants