[][src]Crate smart_leds

Modules

colors
hsv

Structs

Brightness

An iterator that provides brightness reduction

Gamma

An iterator that provides gamma correction. Makes the colour distribution non-linear, to match your eyes' perception In other words, makes orange look orange. If using in combination with a brightness reduction, apply the gamma correction first, then the brightness reduction ie: brightness(gamma(data.iter().cloned()), 32)

RGB

The RGB pixel

RGBA

The RGBA pixel

White

Traits

SmartLedsWrite

Functions

brightness

Pass your iterator into this function to get reduced brightness

gamma

Pass your iterator into this function to get corrected gamma

Type Definitions

RGB8

8-bit RGB

RGB16

16-bit RGB in machine's native endian

RGBW