This commit is contained in:
Lukas Schulz 2020-12-19 23:43:44 +01:00
parent 07a9f126e4
commit 491208e3c4

10
main.py
View file

@ -53,8 +53,14 @@ def get_track():
print('set image')
image = Image.new('RGB', (32, 32), color = 'red')
image = image.convert('RGB')
screen.SetImage(image, 10, 10)
screen.SetPixel(0,1,255,255,255)
#screen.SetImage(image, 10, 10)
#screen.SetPixel(0,1,255,255,255)
offset_x = 10
offset_y = 10
for x in range 32:
for y in range 32:
r, g, b = image.getpixel((x, y))
screen.setPixel(x+offset_x,y+offset_y,r,g,b)
print('image set')
#if token: