Releases: rust-embedded-community/ssd1306
Releases · rust-embedded-community/ssd1306
Release 0.9.0
Added
- #203 Added
Ssd1306::release(self)
to release the contained i2c interface.
Changed
- (breaking) Updated dependencies for
embedded-hal
1.0.0. - Switch examples to embassy STM32 PAC which implements
embedded-hal
1.0.0 traits. - Add an asynchronous interface, enabled via the
async
feature. - (breaking) Increased MSRV to 1.75.0
- #212 Switch
from circleci to github actions. Adjust urls now repository is hosted on
rust-embedded-community. Update code and config for modern rust and tools
v0.8.4
v0.8.3
Changed
- #195 Changed
BasicMode::clear
to clear in
small batches instead of one big write. This drops RAM requirement by ~900b and fixes issues on
MCUs with less than 1Kb of RAM. - #195 Changed
TerminalMode
to use lookup by
ASCII code instead of per-character match when searching for glyph. This may save up to 3.5Kb of
compiled code on AVR MCUs.
v0.8.2
v0.8.1
v0.8.0
v0.7.1
v0.7.0
v0.6.0
Changed
-
(breaking) #156 Migrate from
embedded-graphics
toembedded-graphics-core
. -
(breaking) #150
BufferedGraphicsMode::set_pixel
now accepts abool
instead of au8
for the pixel color value. -
(breaking) #150
display_on
is now calledset_display_on
. -
(breaking) #150
TerminalMode::get_position
is now calledposition
to conform with Rust API guidelines. -
(breaking) #150 Refactor the crate API to be more versatile and to make code clearer to understand.
A graphics mode initialisation now looks like this:
use ssd1306::{prelude::*, I2CDisplayInterface, Ssd1306}; let interface = I2CDisplayInterface::new(i2c); let mut display = Ssd1306::new(interface, DisplaySize128x64, DisplayRotation::Rotate0) .into_buffered_graphics_mode(); display.init().unwrap();