master
Lukas Schulz 2020-12-19 22:09:02 +01:00
parent ca35eb7c9a
commit 871e6d5f5d
1 changed files with 3 additions and 1 deletions

View File

@ -25,7 +25,7 @@ options.hardware_mapping = 'regular'
options.pixel_mapper_config = 'U-mapper'
options.limit_refresh_rate_hz = 240
options.gpio_slowdown = 4
self.screen = RGBMatrix(options = options) #pygame.display.set_mode(self.size, self.flags)
screen = RGBMatrix(options = options) #pygame.display.set_mode(self.size, self.flags)
@ -42,3 +42,5 @@ if token:
image.save("thumbnail.jpg","JPEG")
else:
print("Can't get token for", username)
screen.setImage(image.convert('RGB'))