From 430ae3b93be78116c7dc6953767923d8969521e7 Mon Sep 17 00:00:00 2001 From: Rob Weber Date: Wed, 11 Aug 2021 12:48:48 -0500 Subject: [PATCH] fix: height and width appear to be reversed --- RaspberryPi_JetsonNano/python/lib/waveshare_epd/epd3in7.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RaspberryPi_JetsonNano/python/lib/waveshare_epd/epd3in7.py b/RaspberryPi_JetsonNano/python/lib/waveshare_epd/epd3in7.py index fe4dd26..ca2037b 100644 --- a/RaspberryPi_JetsonNano/python/lib/waveshare_epd/epd3in7.py +++ b/RaspberryPi_JetsonNano/python/lib/waveshare_epd/epd3in7.py @@ -31,8 +31,8 @@ import logging from . import epdconfig # Display resolution -EPD_WIDTH = 280 -EPD_HEIGHT = 480 +EPD_WIDTH = 480 +EPD_HEIGHT = 280 GRAY1 = 0xff #white GRAY2 = 0xC0 #Close to white