ianst wrote: ↑Mon Feb 19, 2018 3:52 pm
Any update?
This one is critical for my project, but using i2c is too unstable. Trying to fade in/out and there tons of artifacts appears.
I've been working on this a bit tonight, the real solution is to do what the Linux kernel does: ask the GPU (AKA the "real" CPU

) to adjust the brightness, rather than trying to do it directly as that is always going to cause problems.
As I recall, the GPU has a "mailbox" interface for this that shouldn't be too complicated to use, and it looks like Microsoft has already
added support for the VC4 mailbox to the BSP, however they haven't added the back light related properties yet.
Doesn't look too complicated, so if nobody else has done it already and stuffed the changes in a branch or PR somewhere on Github, I'll take a look soon.