This commit is contained in:
ladyada 2019-03-31 19:37:17 -04:00
parent 0f8584fe67
commit 51fdef1908

View file

@ -84,7 +84,6 @@ def display_bitmap(epd, filename):
rowSize = (bmpWidth * 3 + 3) & ~3 # 32-bit line boundary
for row in range(bmpHeight): # For each scanline...
print(row)
if flip: # Bitmap is stored bottom-to-top order (normal BMP)
pos = bmpImageoffset + (bmpHeight - 1 - row) * rowSize
else: # Bitmap is stored top-to-bottom