Async drivers for Waveshare's e-paper displays.
This is inspired by both the existing (sync) epd-waveshare crate, and the e-Paper code published by Waveshare directly.
However, it diverges significantly in the public interface for the displays, with a focus on clarity, correctness, and flexibility.
This library only supports a small set of screens for which I have confirmed all functionality. Drivers should all be tested on real displays using a sample program (see below). Each driver should go in its own module.
Sample code should exist for each display driver, to both demonstrate its use and to act as a test
case that can be easily run. These live in the samples folder, with one subfolder per
microcontroller. A sample just needs to be provided for at least one microcontroller per display
driver.
- Install Rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
We also use Husky to run formatters and linters on git push, which requires NPM. The suggested set up is the following: