Skip to content

Commit 2d06fa0

Browse files
committed
fixup! Code for CircuitPython RGBMatrix Guide
1 parent af074b1 commit 2d06fa0

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

CircuitPython_RGBMatrix/life.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ def conway(output):
4949
y = output.height - len(conway_data) - 2 + i
5050
for j, cj in enumerate(si):
5151
output[(output.width - 8)//2 + j, y] = cj & 1
52-
5352

5453
matrix = rgbmatrix.RGBMatrix(
5554
width=64, height=32, bit_depth=1,
@@ -76,8 +75,7 @@ def conway(output):
7675
n = 40
7776

7877
while True:
79-
80-
for i in range(n):
78+
for _ in range(n):
8179
display.show(g1)
8280
apply_life_rule(b1, b2)
8381
display.show(g2)

0 commit comments

Comments
 (0)