Skip to content

Commit

Permalink
Fixed BLACK & WHITE pixels
Browse files Browse the repository at this point in the history
Connects-to: #48
Change-type: patch
  • Loading branch information
Louis authored and chrisys committed Jun 11, 2021
1 parent 9b9e623 commit 5aa7f04
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 5aa7f04

Please sign in to comment.