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

no-std smart-leds-trait

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

5 unstable releases

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

#1917 in Embedded development

Download history 2245/week @ 2024-07-20 2049/week @ 2024-07-27 2125/week @ 2024-08-03 3289/week @ 2024-08-10 4860/week @ 2024-08-17 3260/week @ 2024-08-24 5442/week @ 2024-08-31 3332/week @ 2024-09-07 2845/week @ 2024-09-14 2594/week @ 2024-09-21 2195/week @ 2024-09-28 1002/week @ 2024-10-05 1270/week @ 2024-10-12 1392/week @ 2024-10-19 1080/week @ 2024-10-26 1103/week @ 2024-11-02

4,892 downloads per month
Used in 78 crates (23 directly)

MIT/Apache

7KB

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–275KB