From ab67257482a3d0d767c31447863ecb5d74332a06 Mon Sep 17 00:00:00 2001 From: Brian Y Date: Mon, 2 Dec 2019 22:08:03 -0500 Subject: [PATCH] Revert "modified Rock64 SPI max speed" This reverts commit 124e273994d92ac73b928d990e5bef48ba027976. --- RaspberryPi&JetsonNano/python/lib/waveshare_epd/epdconfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RaspberryPi&JetsonNano/python/lib/waveshare_epd/epdconfig.py b/RaspberryPi&JetsonNano/python/lib/waveshare_epd/epdconfig.py index f1aef62..d9a8e1b 100644 --- a/RaspberryPi&JetsonNano/python/lib/waveshare_epd/epdconfig.py +++ b/RaspberryPi&JetsonNano/python/lib/waveshare_epd/epdconfig.py @@ -65,7 +65,7 @@ class Rock64: self.GPIO.setup(self.DC_PIN, self.GPIO.OUT) self.GPIO.setup(self.CS_PIN, self.GPIO.OUT) self.GPIO.setup(self.BUSY_PIN, self.GPIO.IN) - self.SPI.max_speed_hz = 10000000 + self.SPI.max_speed_hz = 4000000 self.SPI.mode = 0b00 return 0