We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af074b1 commit 2d06fa0Copy full SHA for 2d06fa0
1 file changed
CircuitPython_RGBMatrix/life.py
@@ -49,7 +49,6 @@ def conway(output):
49
y = output.height - len(conway_data) - 2 + i
50
for j, cj in enumerate(si):
51
output[(output.width - 8)//2 + j, y] = cj & 1
52
-
53
54
matrix = rgbmatrix.RGBMatrix(
55
width=64, height=32, bit_depth=1,
@@ -76,8 +75,7 @@ def conway(output):
76
75
n = 40
77
78
while True:
79
80
- for i in range(n):
+ for _ in range(n):
81
display.show(g1)
82
apply_life_rule(b1, b2)
83
display.show(g2)
0 commit comments