mirror of
https://github.com/Anshorei/epd-waveshare.git
synced 2026-10-03 22:06:43 +00:00
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:
@@ -52,7 +52,7 @@ where
|
||||
spi: &mut SPI,
|
||||
delay: &mut DELAY,
|
||||
) -> Result<(), SPI::Error> {
|
||||
self.interface.reset(delay);
|
||||
self.interface.reset(delay, 10);
|
||||
|
||||
// set the power settings
|
||||
self.interface
|
||||
|
||||
Reference in New Issue
Block a user