Skip to content
This repository was archived by the owner on Sep 30, 2019. It is now read-only.

Commit 02a697e

Browse files
committed
Exchanged x and y ranges
Fixed x and y range error.
1 parent a2daeea commit 02a697e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Adafruit_LEDBackpack/ex_16x8_pixels.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313

1414
# Continually update the 16x8 display one pixel at a time
1515
while(True):
16-
for x in range(0, 8):
17-
for y in range(0, 16):
16+
for x in range(0, 16):
17+
for y in range(0, 8):
1818
grid.setPixel(x, y)
1919
time.sleep(0.05)
2020
time.sleep(0.5)

0 commit comments

Comments
 (0)