Skip to content

Commit

Permalink
Fixed BLACK & WHITE pixels
Browse files Browse the repository at this point in the history
  • Loading branch information
Louis committed Jun 3, 2021
1 parent a31b640 commit 4aade63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inkyshot/update-display.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4aade63

Please sign in to comment.