#smart-leds

no-std smart-leds

A crate to use smart-leds device drivers

3 releases (breaking)

0.3.0 Aug 19, 2019
0.2.0 May 3, 2019
0.1.0 Mar 5, 2019

#438 in Hardware support

Download history 236/week @ 2021-08-17 170/week @ 2021-08-24 108/week @ 2021-08-31 757/week @ 2021-09-07 791/week @ 2021-09-14 964/week @ 2021-09-21 1238/week @ 2021-09-28 1466/week @ 2021-10-05 2341/week @ 2021-10-12 1273/week @ 2021-10-19 1078/week @ 2021-10-26 322/week @ 2021-11-02 1137/week @ 2021-11-09 1125/week @ 2021-11-16 562/week @ 2021-11-23 509/week @ 2021-11-30

3,395 downloads per month
Used in 21 crates (20 directly)

MIT/Apache

21KB
295 lines

Smart-leds

Use various addresable led like the ws2812 (neopixel) or apa102 (dotstar) in rust. As their protocol greatly differs and for some (like the ws2812) there are various methods, this crate doesn't implement any specific drivers by itself. It has to be coupled with a device driver that implements the smart-leds-trait, like the ws2812-spi, the ws2812-nop-samd21 or the apa102-spi drivers.

You can see some usage examples in the smart-leds-samples repo.

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.

Dependencies

~78KB

RZ]