From 4aade639c6ce3e882d30233d56a117f5a6fcb17a Mon Sep 17 00:00:00 2001 From: Louis Date: Fri, 4 Jun 2021 01:27:52 +0200 Subject: [PATCH] Fixed BLACK & WHITE pixels --- inkyshot/update-display.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inkyshot/update-display.py b/inkyshot/update-display.py index 73d0f2c..519dc46 100644 --- a/inkyshot/update-display.py +++ b/inkyshot/update-display.py @@ -283,8 +283,8 @@ def temp_to_str(temp, scale): # These are the opposite of what InkyPhat uses. WIDTH = display.height # yes, Height HEIGHT = display.width # yes, width - BLACK = "black" - WHITE = "white" + BLACK = 0 + WHITE = 1 img = Image.new('1', (WIDTH, HEIGHT), 255) else: import inky