Releases: golemparts/blinkt
Releases · golemparts/blinkt
v0.7.1
v0.7.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.
v0.6.0
- (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
.
v0.5.0
- Add support for Raspberry Pi 3 A+.
- Replace spidev dependency with RPPAL's SPI module.
- (Breaking change) Add Error::Spi to indicate an SPI error occurred.
v0.4.0
- Add support for hardware SPI through Blinkt::with_spi()
- Add a Result return value to 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
- Minor version bump due to incompatible API changes in a 0.x.x release
v0.3.0
- Add support for Raspberry Pi 3 B+
v0.2.0
- Update internal struct/enum names for RPPAL 0.2.0 upgrade
- Rename GPIOError to GpioError, and Error::GPIO to Error::Gpio
- Minor version bump due to incompatible API changes in a 0.x.x release
v0.1.2
- Move GPIO and System modules to external crate
- Remove temporary blinkt variable binding in new()
v0.1.1
- Add start frame to show()
v0.1.0
Initial release