Fixing some issues with 9.7" E-Paper displays
test() saves assembled images now. If the 9.7" E-Paper is selected, the images are now flipped correctly.
This commit is contained in:
@@ -84,10 +84,6 @@ class Display:
|
||||
if self.supports_colour == False:
|
||||
print('Initialising..', end = '')
|
||||
epaper.init()
|
||||
# For the 9.7" ePaper, the image needs to be flipped by 90 deg first
|
||||
# The other displays flip the image automatically
|
||||
if self.model_name == "9_in_7":
|
||||
im_black.rotate(90, expand=True)
|
||||
print('Updating display......', end = '')
|
||||
epaper.display(epaper.getbuffer(im_black))
|
||||
print('Done')
|
||||
|
Reference in New Issue
Block a user