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
@@ -71,7 +71,7 @@ where
delay: &mut DELAY,
) -> Result<(), SPI::Error> {
// HW reset
self.interface.reset(delay);
self.interface.reset(delay, 10);
if self.refresh == RefreshLUT::QUICK {
self.set_vcom_register(spi, (-9).vcom())?;