From cd6b264fb6282054af410b24b1529c09cb0ab427 Mon Sep 17 00:00:00 2001 From: Matt Vogel Date: Sat, 8 Jan 2022 20:45:40 -0500 Subject: [PATCH] invert black --- RaspberryPi_JetsonNano/python/lib/waveshare_epd/epd7in5b_V2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RaspberryPi_JetsonNano/python/lib/waveshare_epd/epd7in5b_V2.py b/RaspberryPi_JetsonNano/python/lib/waveshare_epd/epd7in5b_V2.py index bc21215..0e5c08f 100644 --- a/RaspberryPi_JetsonNano/python/lib/waveshare_epd/epd7in5b_V2.py +++ b/RaspberryPi_JetsonNano/python/lib/waveshare_epd/epd7in5b_V2.py @@ -154,7 +154,7 @@ class EPD: def display(self, imageblack, imagered): self.send_command(0x10) - self.send_data2(imageblack) + self.send_data2(~imageblack) self.send_command(0x13) self.send_data2(imagered) #this may need to be ~ inverted