We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af5c951 commit 008dc9eCopy full SHA for 008dc9e
1 file changed
EInk_Autostereograms/code.py
@@ -1,7 +1,6 @@
1
import digitalio
2
import busio
3
import board
4
-#import array
5
import displayio
6
import adafruit_imageload
7
import time
@@ -63,7 +62,7 @@ def display_bitmap(epd, filename):
63
62
bmpHeight = read_le(f.read(4))
64
# convert unsigned int to signed int in case there is a negative height
65
if bmpHeight > 0x7fffffff:
66
- bmpHeight = bmpHeight - 4294967296
+ bmpHeight = bmpHeight - 4294967296
67
flip = True
68
if bmpHeight < 0:
69
bmpHeight = abs(bmpHeight)
0 commit comments