4 releases (breaking)
0.4.0 | Jan 14, 2024 |
---|---|
0.3.0 | Aug 19, 2019 |
0.2.0 | May 3, 2019 |
0.1.0 | Mar 5, 2019 |
#61 in Embedded development
5,744 downloads per month
Used in 63 crates
(60 directly)
23KB
331 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-timer-delay or the apa102-spi drivers.
You can see some usage examples in the smart-leds-samples repo.
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
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
~145–290KB