https://github.com/edarc/ssd1322
Rust embedded-hal driver for SSD1322 OLED displays
https://github.com/edarc/ssd1322
embedded-hal embedded-hal-driver oled rtfm rust
Last synced: 8 months ago
JSON representation
Rust embedded-hal driver for SSD1322 OLED displays
- Host: GitHub
- URL: https://github.com/edarc/ssd1322
- Owner: edarc
- Created: 2018-07-10T10:55:39.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2021-07-27T07:42:20.000Z (almost 5 years ago)
- Last Synced: 2025-04-15T06:49:27.360Z (about 1 year ago)
- Topics: embedded-hal, embedded-hal-driver, oled, rtfm, rust
- Language: Rust
- Size: 177 KB
- Stars: 7
- Watchers: 2
- Forks: 11
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SSD1322 OLED display driver

Pure Rust driver for the SSD1322 OLED display chip, for use with
[embedded-hal](https://crates.io/crates/embedded-hal).
## Description
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.
### Missing features:
- [embedded-graphics](https://github.com/jamwaffles/embedded-graphics)
`Drawing` support.
- Parallel interface support.
- Chip select and bus sharing (assumes /CS is tied low).
- Text mode and/or fonts.
## Acknowledgements
[jamwaffles/ssd1306](https://github.com/jamwaffles/ssd1306) for internal design
inspiration.
[japaric/embedded-hal](https://github.com/japaric/embedded-hal) for making
dealing with embedded hardware easy, safe, and enjoyable.
## License
Licensed under either of
- Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (http://opensource.org/licenses/MIT)
at your option.
### Contribution
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.