Constant lp55231::registers::D1_CTRL

source ·
pub const D1_CTRL: u8 = 0x06;
Expand description

Per LED control channel for D1 - fader channel assig, log dimming enable, temperature compensation

This is the register used to assign the D1 output to the MASTER FADER group 1, 2, or 3, or none of them. Also, this register sets the correction factor for the D1 output temperature compensation and selects between linear and logarithmic PWM brightness adjustment. By using logarithmic PWM-scale the visual effect looks like linear. When the logarithmic adjustment is enabled, the chip handles internal PWM values with 12-bit resolution. This allows very fine-grained PWM control at low PWM duty cycles.