pub type LedRgb = led_rgb;Expand description
Type alias for the Zephyr led_rgb struct used to describe a single pixel’s RGB value.
Note that led_strip_update_rgb is documented to potentially overwrite the pixel buffer,
hence methods that update the strip take &mut [LedRgb].
Aliased Type§
#[repr(C)]pub struct LedRgb {
pub r: u8,
pub g: u8,
pub b: u8,
}Fields§
§r: u8Red channel
g: u8Green channel
b: u8Blue channel