Skip to content

Commit 8c3a21e

Browse files
committed
Made sure all columns are used!
1 parent 2f44e85 commit 8c3a21e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

micropython/examples/pico_unicorn/vertical-fire.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def draw():
5656

5757
for y in range(picounicorn.get_height()):
5858
for x in range(picounicorn.get_width()):
59-
value = _heat[y][x]
59+
value = _heat[y + 1][x]
6060
if value < 0.15:
6161
_set_pen(_fire_colours[0])
6262
elif value < 0.25:

0 commit comments

Comments
 (0)