6 releases

0.3.2 Nov 20, 2019
0.3.1 Sep 20, 2019
0.2.1 Aug 25, 2019
0.2.0 May 3, 2019
0.1.0 Mar 5, 2019

#987 in Embedded development

Download history 83/week @ 2023-02-05 56/week @ 2023-02-12 333/week @ 2023-02-19 84/week @ 2023-02-26 201/week @ 2023-03-05 58/week @ 2023-03-12 35/week @ 2023-03-19 35/week @ 2023-03-26 27/week @ 2023-04-02 46/week @ 2023-04-09 15/week @ 2023-04-16 81/week @ 2023-04-23 76/week @ 2023-04-30 32/week @ 2023-05-07 203/week @ 2023-05-14 37/week @ 2023-05-21

349 downloads per month
Used in 4 crates (3 directly)

MIT/Apache

7KB
61 lines

APA102 driver for embedded-hal spi traits

For usage with the smart-leds crate.

License

Licensed under either of

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

~155KB