Skip to content

Commit 0203608

Browse files
committed
Fixed comments on new functions
1 parent 5918c32 commit 0203608

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Adafruit_LED_Backpack/HT16K33.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def set_led(self, led, value):
9292

9393
def get_led(self, led):
9494
"""Gets specified LED (value of 0 to 127), 0/False
95-
for off and 1 (or any True/non-zero value) for on.
95+
for off and 1 for on.
9696
"""
9797
if led < 0 or led > 127:
9898
raise ValueError('LED must be value of 0 to 127.')
@@ -108,7 +108,7 @@ def write_display(self):
108108
self._device.write8(i, value)
109109

110110
def read_display(self):
111-
"""Write display buffer to display hardware."""
111+
"""Read display hardware to display buffer."""
112112
for pos in range(16):
113113
self.buffer[pos] = self._device.readU8(pos)
114114

0 commit comments

Comments
 (0)