Thanks Alan,
As per usual, the obvious escaped me - a character driver makes sense of
course. I will implement this, for now, as a board-specific driver and
when its working, and I have time, I will look at transitioning it to be
a generic NuttX driver.
On 03/01/2024 20:17, Alan C. Assis wro
Hi Tim,
AFAIK NuttX doesn't have a standard way to do it.
It is normally done at board level (do a "git grep backlight" inside
boards/ to see some examples).
A proper way to do that should be implementing a backlight subsystem, like
a subset of Linux backlight subsystem:
https://docs.kernel.org/g
My SAMA5 board has an LCD with variable brightness (pwm controlled).
arch/arm/src/chip/sam_lcd.c has a function called "sam_backlight) that
takes a level value, but it appears to be local to that file, and the
only call to it is in the LCD init functions in that file, complete with
a comment t