make reset timing device specific

reset timings seem to be device specific, trying to reset the 7in5_v2 with timings from other devices does not reset the display.

Timings taken from https://github.com/waveshare/e-Paper/blob/master/RaspberryPi%26JetsonNano/python/lib/waveshare_epd
This commit is contained in:
Robin Appelman
2020-10-17 17:13:38 +02:00
parent ac97aac745
commit 5cb7de5929
9 changed files with 19 additions and 14 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ where
delay: &mut DELAY,
) -> Result<(), SPI::Error> {
// Reset the device
self.interface.reset(delay);
self.interface.reset(delay, 4);
// V2 procedure as described here:
// https://github.com/waveshare/e-Paper/blob/master/RaspberryPi%26JetsonNano/python/lib/waveshare_epd/epd7in5bc_V2.py