Skip to content

Commit 13aee28

Browse files
committed
Update Adafruit_LEDBackpack/Adafruit_8x8.py
Corrected the offset
1 parent 666ff43 commit 13aee28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Adafruit_LEDBackpack/Adafruit_8x8.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def setPixel(self, x, y, color=1):
3434
return
3535
if (y >= 8):
3636
return
37-
x += 7
37+
x += 8
3838
x %= 8
3939
# Set the appropriate pixel
4040
buffer = self.disp.getBuffer()

0 commit comments

Comments
 (0)