yes.
This commit is contained in:
parent
491208e3c4
commit
3093102ba7
1 changed files with 2 additions and 2 deletions
4
main.py
4
main.py
|
@ -57,8 +57,8 @@ def get_track():
|
||||||
#screen.SetPixel(0,1,255,255,255)
|
#screen.SetPixel(0,1,255,255,255)
|
||||||
offset_x = 10
|
offset_x = 10
|
||||||
offset_y = 10
|
offset_y = 10
|
||||||
for x in range 32:
|
for x in range(31):
|
||||||
for y in range 32:
|
for y in range(31):
|
||||||
r, g, b = image.getpixel((x, y))
|
r, g, b = image.getpixel((x, y))
|
||||||
screen.setPixel(x+offset_x,y+offset_y,r,g,b)
|
screen.setPixel(x+offset_x,y+offset_y,r,g,b)
|
||||||
print('image set')
|
print('image set')
|
||||||
|
|
Loading…
Reference in a new issue