Skip to content

Commit 8adf0ba

Browse files
authored
Create is31fl3731_frame_example.py
Old code works fine for width of 15, 16 or 17 but does not look good on width of 11.
1 parent 79a2fa9 commit 8adf0ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/is31fl3731_frame_example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
# first load the frame with the arrows; moves the arrow to the right in each
3232
# frame
3333
display.sleep(True) # turn display off while frames are updated
34-
for frame in range(8):
34+
for frame in range(display.width-8):
3535
display.frame(frame, show=False)
3636
display.fill(0)
3737
for y in range(display.height):

0 commit comments

Comments
 (0)