#led-driver #effect #traits #programmable #devices #modifiers #smart

no-std smart-leds-trait

A trait for implementing effects, modifiers and drivers for programmable leds

6 releases

0.3.1 Jan 24, 2025
0.3.0 Jan 14, 2024
0.2.1 Sep 7, 2020
0.2.0 May 1, 2019
0.1.1 Mar 24, 2019

#206 in Embedded development

Download history 1392/week @ 2024-10-19 1080/week @ 2024-10-26 1119/week @ 2024-11-02 1557/week @ 2024-11-09 1807/week @ 2024-11-16 1906/week @ 2024-11-23 1503/week @ 2024-11-30 2040/week @ 2024-12-07 1916/week @ 2024-12-14 960/week @ 2024-12-21 1118/week @ 2024-12-28 1872/week @ 2025-01-04 2488/week @ 2025-01-11 2601/week @ 2025-01-18 1989/week @ 2025-01-25 1576/week @ 2025-02-01

8,928 downloads per month
Used in 86 crates (24 directly)

MIT/Apache

8KB

Smart-leds drivers

This crate defines the traits that drivers for smart-leds have to implement.

It's not intended for end-user usage, only for device drivers.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.


lib.rs:

Smart Leds Trait

Smart leds is a collection of crates to use smart leds on embedded devices with rust.

Examples of smart leds include the popular WS2812 (also called Neopixel), APA102 (DotStar) and other leds, which can be individually adressed.

This crate is used as a common base, so that breaking changes which would force all other crates to be updated, can be avoided.

End users should use the smart-leds crate, which contains various convenience functions.

Dependencies

~140–270KB