[][src]Crate ws2818_rgb_led_spi_driver

Modules

encoding

Utility functions for the encoding of data. This functions respect the restrictions from timings-module.

timings

Module with all code + comments related to timing. The WS2818 has specific restrictions how long high and low signal must be send on DIN-wire in nanoseconds. All logic and constants needed to cope with this are placed here.

util

Utility functions for writing stuff to the LED chain. This uses functions from the crate::encoding modulel

Functions

setup_spi

Connects your application with the SPI-device of your device. This uses the spidev-crate.