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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user