Go to file
Chris 22e3ee22b2 Include `set_lut` in WaveshareDisplay Trait 2018-10-30 14:56:38 +01:00
ci added ci 2018-05-11 14:02:55 +02:00
examples Include `set_lut` in WaveshareDisplay Trait 2018-10-30 14:56:38 +01:00
src Include `set_lut` in WaveshareDisplay Trait 2018-10-30 14:56:38 +01:00
.gitignore some changes 2018-05-09 16:50:54 +02:00
.travis.yml Fix last clippy warning 2018-10-30 11:10:45 +01:00
Cargo.toml Include `set_lut` in WaveshareDisplay Trait 2018-10-30 14:56:38 +01:00
License.md Create License.md 2018-05-04 13:25:57 +02:00
README.md Fixed broken link 2018-10-24 14:09:39 +02:00


eink-waveshare-rs Build Status

This library contains a driver for E-Paper Modules from Waveshare.

It uses the embedded graphics library for the optional graphics support.

(Supported) Devices

Device (with Link) Colors Flexible Display Partial Refresh Supported Tested
4.2 Inch B/W (A) Black, White Not officially [1]
1.54 Inch B/W (A) Black, White
2.13 Inch B/W (A) Black, White
2.9 Inch B/W (A) Black, White ✔ [2]

[1]: 4.2 Inch E-Ink Black/White - Partial Refresh

Out of the Box the original driver from Waveshare only supports full updates.

That means: Be careful with the quick refresh updates:
It's possible with this driver but might lead to ghosting / burn-in effects therefore it's hidden behind a feature.

[2]: 2.9 Inch E-Ink Black/White - Tests

Since my 2.9 Inch Display has some blurring issues I am not absolutly sure if everything was working correctly as it should :-)


Interface Description
VCC 3.3V
CS SPI chip select (Low active)
DC Data/Command control pin (High for data, and low for command)
RST External reset pin (Low for reset)
BUSY Busy state output pin (Low for busy)

Display Configs

There are two types of Display Configurations used in Wavedshare EPDs, which also needs to be set on the "new" E-Paper Driver HAT. They are also called A and B, but you shouldn't get confused and mix it with the Type A,B,C and D of the various Displays, which just describe different types (colored variants) or new versions. In the Display Config the seperation is most likely due to included fast partial refresh of the displays. In a Tabular form:

Type A Tybe B
1.54in (A) 1.54in (B)
2.13in (A) 1.54in (C)
2.13in (D) 2.13in (B)
2.9in (A) 2.13in (C)
2.7in (A)
2.7in (B)
2.9in (B)
2.9in (C)
4.2in (A)
4.2in (B)
4.2in (C)
7.5in (A)
7.5in (B)
7.5in (C)


  • improve the partial drawing/check the timings/timing improvements/....


There are multiple examples in the examples folder. For more infos see the seperate Readme there: