Skip to content

Commit 3921609

Browse files
committed
RGBMatrix: fruit demo: fix ValueError exception
The tile width setting was lost when I simplified the demo for inclusion in the guide. Restore it.
1 parent e33bf5d commit 3921609

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CircuitPython_RGBMatrix/fruit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class Wheel(displayio.TileGrid):
3636
def __init__(self):
3737
# Portions of up to 3 tiles are visible.
3838
super().__init__(bitmap=bitmap, pixel_shader=displayio.ColorConverter(),
39-
width=1, height=3, tile_width=20)
39+
width=1, height=3, tile_width=20, tile_height=24)
4040
self.order = shuffled(range(20))
4141
self.state = STOPPED
4242
self.pos = 0

0 commit comments

Comments
 (0)