7 unstable releases
0.4.0 | Jan 14, 2024 |
---|---|
0.3.2 | Nov 20, 2019 |
0.3.1 | Sep 20, 2019 |
0.2.1 | Aug 25, 2019 |
0.1.0 | Mar 5, 2019 |
#2000 in Embedded development
1,125 downloads per month
Used in 4 crates
(3 directly)
7KB
83 lines
APA102 driver for embedded-hal spi traits
For usage with the smart-leds crate.
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.
Todo
- Implement a
WriteIter
based version
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
:
Use apa102 leds via spi
- For usage with
smart-leds
- Implements the
SmartLedsWrite
trait
Doesn't use the native brightness settings of the apa102 leds, since that runs at a much lower pwm frequency and thus nerfes the very high color pwm frequency. (According to Adafruit)
Needs a type implementing the blocking::spi::Write
trait.
Dependencies
~205KB