fixup! Code for CircuitPython RGBMatrix Guide
@@ -50,7 +50,6 @@ def conway(output):
for j, cj in enumerate(si):
output[(output.width - 8)//2 + j, y] = cj & 1
-
matrix = rgbmatrix.RGBMatrix(
width=64, height=32, bit_depth=1,
rgb_pins=[board.D6, board.D5, board.D9, board.D11, board.D10, board.D12],
@@ -76,8 +75,7 @@ time.sleep(3)
n = 40
while True:
-
- for i in range(n):
+ for _ in range(n):
display.show(g1)
apply_life_rule(b1, b2)
display.show(g2)
