diff --git a/main.py b/main.py index bab241b..dc39826 100644 --- a/main.py +++ b/main.py @@ -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'))