Releases: rust-embedded-community/ssd1306
Releases · rust-embedded-community/ssd1306
Release 0.10.0
Changed
- Added
DisplaySize64x32
to the prelude - Update
embedded-hal-bus
dependency to 0.3.0 - Update examples
Fixed
- Switch to resolver version 2. This fixes compilation issues when the
async
feature is enabled. - Parentheses for expression in mode/terminal.rs (see precedence) in mode/terminal.rs
- Switch iterator in
write_str
in mode/terminal.rs from last() to next_back (see double_ended_iterator_last) - If feature
async
is enabled, theembedded_hal_async::i2c::I2c
is used instead ofembedded_hal::i2c::I2c
so the I2C can be shared - Update dependencies for
embassy-executor
to 0.7.0 - Remove
embassy-executor
feature "integrated-timer". See https://github.com/embassy-rs/embassy/blob/main/embassy-executor/CHANGELOG.md - Switch
embassy-executor
from git to crates.io - Update dependencies for
embassy-stm32
to 0.2.0 - Switch
embassy-stm32
from git to crates.io - Update dependencies for
embassy-time
to 0.4.0 - Switch
embassy-time
from git to crates.io - Update dependencies for
tinybmp
to 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-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();