#led #led-driver #traits #effect #programmable #devices #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

#117 in Embedded development

Download history 1594/week @ 2024-01-01 2246/week @ 2024-01-08 1695/week @ 2024-01-15 2249/week @ 2024-01-22 1637/week @ 2024-01-29 1265/week @ 2024-02-05 1844/week @ 2024-02-12 1932/week @ 2024-02-19 1746/week @ 2024-02-26 1938/week @ 2024-03-04 2630/week @ 2024-03-11 3382/week @ 2024-03-18 2525/week @ 2024-03-25 3529/week @ 2024-04-01 2015/week @ 2024-04-08 3692/week @ 2024-04-15

11,847 downloads per month
Used in 71 crates (19 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

~230KB