yes.
This commit is contained in:
parent
97122fe0f6
commit
c13b1bb6e1
1 changed files with 3 additions and 2 deletions
5
main.py
5
main.py
|
@ -26,7 +26,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)
|
||||
|
||||
|
||||
|
||||
|
@ -52,7 +52,8 @@ def get_track():
|
|||
#image.save("thumbnail.jpg","JPEG")
|
||||
print('set image')
|
||||
image = Image.new('RGB', (32, 32), color = 'red')
|
||||
self.screen.SetImage(image.convert('RGB'))
|
||||
#screen.SetImage(image.convert('RGB'))
|
||||
screen.SetPixel(0,0,255,255,255)
|
||||
print('image set')
|
||||
|
||||
#if token:
|
||||
|
|
Loading…
Reference in a new issue