From 4a105c992b772e95911940f5f51c7be8b02a8edb Mon Sep 17 00:00:00 2001 From: Manish Khanna Date: Sat, 17 Apr 2021 21:03:00 +0530 Subject: [PATCH] Fix for Bug #156 --- RaspberryPi_JetsonNano/python/lib/waveshare_epd/epd2in7.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RaspberryPi_JetsonNano/python/lib/waveshare_epd/epd2in7.py b/RaspberryPi_JetsonNano/python/lib/waveshare_epd/epd2in7.py index c66cdae..8429d72 100644 --- a/RaspberryPi_JetsonNano/python/lib/waveshare_epd/epd2in7.py +++ b/RaspberryPi_JetsonNano/python/lib/waveshare_epd/epd2in7.py @@ -410,7 +410,7 @@ class EPD: for x in range(imwidth): for y in range(imheight): newx = y - newy = x + newy = self.height - x - 1 if(pixels[x, y] == 0xC0): pixels[x, y] = 0x80 elif (pixels[x, y] == 0x80):