So I just discovered the 5-bit brightness parameter in the APA102 protocol.

So I just discovered the 5-bit brightness parameter in the APA102 protocol. Game changer! I’m trying to use it on a per-pixel basis, but am noticing that it doesn’t seem to match up linearly with the RGB values. e.g. (1,1,1) with a brightness of 31 is much brighter than (31,31,31) and a brightness of 1.

Does anyone know the relationship between the RGB values and that 5-bit brightness value? I’m hoping to make a 4-byte CRGB where the brightness will affect the 5-bit value and then scale down on the RGB values only after dropping the 5-bit value to 0x01.

Fastled doesn’t use the 5-bit brightness currently.