Crate ws2812_nrf52833_pwm

Source
Expand description

§Use ws2812 leds with nRF52833 PWM.

This code drives a WS2812-family LED chain (should work with WS2812, WS2812B/C) using a PWM unit of the nRF52833. The PWM unit makes it easy to get the precise fast timing needed for these chips.

This crate is intended for usage with the smart-leds crate: it implements the SmartLedsWrite trait.

Structs§

Ws2812
Driver for a chain of WS2812-family devices using PWM. The constant N should be 24 times the number of chips in the chain.

Enums§

Error
Error during WS2812 driver operation.