- Upgrade
rppal
dependency to 0.15.0.
- (Breaking change) Transition to Rust 2021, requiring rustc v1.56.0 or newer to compile the library.
- Fix display issues under high CPU load (contributed by @ashhhleyyy).
- Change iterator type to
slice::IterMut
(contributed by @hellow554). - Extend SPI interface with bus, SS and mode selection (contributed by @hellow554).
- Upgrade
rppal
dependency to 0.13.1.
- (Breaking change) Transition to Rust 2018, requiring rustc v1.45.0 or newer to compile the library.
- Add new badge to
README.md
, indicating the required minimum rustc version. - Upgrade
rppal
dependency to 0.12.0. - Add support for Raspberry Pi CM3+, CM4, 4B, 400.
- Remove
quick-error
dependency. - Add
Pixel
to public interface, which represents a pixel on an LED strip or board. - Add
IterMut
, which implementsIterator
for a&mut Pixel
slice. - Implement
IntoIterator
for&mut Blinkt
, which returns anIterMut
mutable iterator over allPixel
s stored inBlinkt
. - Add
Blinkt::iter_mut()
, which returns anIterMut
mutable iterator over allPixel
s stored inBlinkt
. - Add
Blinkt::clear_on_drop()
, which returns the current value ofclear_on_drop
. - (Breaking change) Remove
Blinkt::cleanup()
. WhenBlinkt
goes out of scope, any changed pin states are automatically reset. Ifclear_on_drop
is set totrue
, all pixels will also be cleared. - Implement
Send
forBlinkt
.
- Add support for Raspberry Pi 3 A+.
- Replace
spidev
dependency withrppal
's SPI module. - (Breaking change) Add
Error::Spi
to indicate an SPI error occurred.
- Add support for hardware SPI through
Blinkt::with_spi()
. - (Breaking change) Add a
Result
return value toBlinkt::show()
to catch potential SPI or GPIO errors. - Fix miscalculated number of end frame pulses for increased performance.
- Replace start frame and end frame loops with slices for increased performance.
- Add support for Raspberry Pi 3 B+.
- Update internal struct/enum names for
rppal
0.2.0 upgrade. - (Breaking change) Rename
GPIOError
toGpioError
, andError::GPIO
toError::Gpio
.
- Move
GPIO
andSystem
modules to external crate. - Remove temporary
blinkt
variable binding innew()
.
- Add start frame to
show()
.
- Initial release.