Releases: rust-embedded-community/ssd1306
Releases · rust-embedded-community/ssd1306
Release 0.10.0
Changed
- Added
DisplaySize64x32to the prelude - Update
embedded-hal-busdependency to 0.3.0 - Update examples
Fixed
- Switch to resolver version 2. This fixes compilation issues when the
asyncfeature is enabled. - Parentheses for expression in mode/terminal.rs (see precedence) in mode/terminal.rs
- Switch iterator in
write_strin mode/terminal.rs from last() to next_back (see double_ended_iterator_last) - If feature
asyncis enabled, theembedded_hal_async::i2c::I2cis used instead ofembedded_hal::i2c::I2cso the I2C can be shared - Update dependencies for
embassy-executorto 0.7.0 - Remove
embassy-executorfeature "integrated-timer". See https://github.com/embassy-rs/embassy/blob/main/embassy-executor/CHANGELOG.md - Switch
embassy-executorfrom git to crates.io - Update dependencies for
embassy-stm32to 0.2.0 - Switch
embassy-stm32from git to crates.io - Update dependencies for
embassy-timeto 0.4.0 - Switch
embassy-timefrom git to crates.io - Update dependencies for
tinybmpto 0.5.0 - Update root-toolchain to 1.84 for github workflow in ci.yml
Release 0.9.0
Added
- #203 Added
Ssd1306::release(self)to release the contained i2c interface.
Changed
- (breaking) Updated dependencies for
embedded-hal1.0.0. - Switch examples to embassy STM32 PAC which implements
embedded-hal1.0.0 traits. - Add an asynchronous interface, enabled via the
asyncfeature. - (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::clearto 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
TerminalModeto 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-graphicstoembedded-graphics-core. -
(breaking) #150
BufferedGraphicsMode::set_pixelnow accepts aboolinstead of au8for the pixel color value. -
(breaking) #150
display_onis now calledset_display_on. -
(breaking) #150
TerminalMode::get_positionis now calledpositionto 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();