3 ms·
Linux already has an LED interface, it's just that currently you can give an LED a brightness value 0-255. So a RGB LED would have to be represented by three e
by pantalaimon 8y ago
Linux already has an LED interface, it's just that currently you can give an LED a brightness value 0-255.
So a RGB LED would have to be represented by three entries in /sys/class/leds/
That's kind of inconvenient when those three LEDs are actually one RGB LED.
This is only how the LEDs are represented to user space, you still need a driver for the chips the LEDs are connected to.