Skip to content

Commit bfe3264

Browse files
committed
adjusted _led_buffer to appropriate size
1 parent 50d46b8 commit bfe3264

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_trellis.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def __init__(self, i2c, addresses=None):
136136
self._buttons = []
137137
for i2c_address in addresses:
138138
self._i2c_devices.append(i2c_device.I2CDevice(i2c, i2c_address))
139-
self._led_buffer.append(bytearray(16))
139+
self._led_buffer.append(bytearray(17))
140140
self._buttons.append([bytearray(6), bytearray(6)])
141141
self._num_leds = len(self._i2c_devices) * 16
142142
self._temp = bytearray(1)

0 commit comments

Comments
 (0)