Merge pull request #157 from mk-in/master
Mirrored text display in 4Gray Horizontal Display
This commit is contained in:
commit
a69c0eedf2
1 changed files with 1 additions and 1 deletions
|
|
@ -410,7 +410,7 @@ class EPD:
|
||||||
for x in range(imwidth):
|
for x in range(imwidth):
|
||||||
for y in range(imheight):
|
for y in range(imheight):
|
||||||
newx = y
|
newx = y
|
||||||
newy = x
|
newy = self.height - x - 1
|
||||||
if(pixels[x, y] == 0xC0):
|
if(pixels[x, y] == 0xC0):
|
||||||
pixels[x, y] = 0x80
|
pixels[x, y] = 0x80
|
||||||
elif (pixels[x, y] == 0x80):
|
elif (pixels[x, y] == 0x80):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue