Type Alias smart_leds::RGBW

source ·
pub type RGBW<ComponentType, WhiteComponentType = ComponentType> = RGBA<ComponentType, White<WhiteComponentType>>;
Expand description

The RGBW Pixel

This is used for leds, that in addition to RGB leds also contain a white led

Aliased Type§

struct RGBW<ComponentType, WhiteComponentType = ComponentType> {
    pub r: ComponentType,
    pub g: ComponentType,
    pub b: ComponentType,
    pub a: White<WhiteComponentType>,
}

Fields§

§r: ComponentType

Red

§g: ComponentType

Green

§b: ComponentType

Blue

§a: White<WhiteComponentType>

Alpha