Crates.io | ssd1322 |
lib.rs | ssd1322 |
version | 0.3.0 |
source | src |
created_at | 2018-07-15 11:43:13.704865 |
updated_at | 2021-07-27 07:44:30.697744 |
description | SPI driver for the SSD1322 OLED display controller |
homepage | |
repository | https://github.com/edarc/ssd1322 |
max_upload_size | |
id | 74339 |
size | 88,276 |
Pure Rust driver for the SSD1322 OLED display chip, for use with embedded-hal.
This driver is intended to work on embedded platforms using the embedded-hal
trait library. It is no_std
, contains no added unsafe
, and does not require
an allocator. The initial release supports the 4-wire SPI interface.
Because the SSD1322 supports displays as large as 480x128 @ 4bpp, the primary
API uses a Region
abstraction to allow writing a stream of pixel data from an
iterator onto a rectangular sub-region of the display area. This avoids the
requirement to buffer the entire display RAM in the host, since such a buffer
would consume a colossal (for a μC) 30kiB of RAM.
Drawing
support.jamwaffles/ssd1306 for internal design inspiration. japaric/embedded-hal for making dealing with embedded hardware easy, safe, and enjoyable.
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.