Merge pull request #14 from nonflammable/patch-2

Update Matrix8x8.py
This commit is contained in:
Limor "Ladyada" Fried 2016-10-26 12:33:11 -04:00 committed by GitHub
commit 6199f94ab2

View file

@ -34,7 +34,7 @@ class Matrix8x8(HT16K33.HT16K33):
def set_pixel(self, x, y, value):
"""Set pixel at position x, y to the given value. X and Y should be values
of 0 to 8. Value should be 0 for off and non-zero for on.
of 0 to 7. Value should be 0 for off and non-zero for on.
"""
if x < 0 or x > 7 or y < 0 or y > 7:
# Ignore out of bounds pixels.