Expand description
§weact-studio-epd
Unofficial Rust driver for WeAct Studio e-paper displays.
The driver exposes both write access to the screen frame buffers and higher-level embedded-graphics support.
By default this driver uses async. If you prefer to use a blocking API instead you can enable the blocking feature.
§Supported displays
| Display | Colors | Supported | Partial update1 | Fast refresh2 | Tested |
|---|---|---|---|---|---|
| WeAct 1.54 inch 200x200 B/W | Black, White | ✕ | |||
| WeAct 2.13 inch 122x250 B/W | Black, White | ✓ | ✓ | ✓ | ✓ |
| WeAct 2.13 inch 122x250 B/W/R | Black, White, Red | ✓ | ✕ | ||
| WeAct 2.9 inch 128x296 B/W | Black, White | ✓ | ✓ | ✓ | ✓ |
| WeAct 2.9 inch 128x296 B/W/R | Black, White, Red | ✓ | ✕ | ||
| WeAct 4.2 inch 400x300 B/W | Black, White | ✕ |
§Examples
See the examples folder for complete usage examples.
§Features
blocking: Replaces the API with a blocking version. This disables theasyncAPI so you cannot use both in the same project.graphics: Enablesembedded-graphicssupport. Enabled by default.
§Credits
This driver is based on the following crates:
§License
This crate is licenced under:
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
Modules§
- graphics
graphics embedded-graphicssupport.
Structs§
- Display
Driver - The main driver struct that manages the communication with the display.
Enums§
Type Aliases§
- Result
- Alias for
Result<T, DisplayError>. - WeAct
Studio213 Black White Driver - Display driver for the WeAct Studio 2.13 inch B/W display.
- WeAct
Studio213 TriColor Driver - Display driver for the WeAct Studio 2.13 inch Tri-Color display.
- WeAct
Studio290 Black White Driver - Display driver for the WeAct Studio 2.9 inch B/W display.
- WeAct
Studio290 TriColor Driver - Display driver for the WeAct Studio 2.9 inch Tri-Color display.