Skip to content

Commit

Permalink
Merge pull request #49 from louispires/Waveshare-ICON
Browse files Browse the repository at this point in the history
Fixed BLACK & WHITE pixels for Waveshare Weather Icon
  • Loading branch information
bulldozer-balena[bot] authored Jun 14, 2021
2 parents 5666bd7 + 188d90a commit 10ab8de
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 10ab8de

Please sign in to comment.