Skip to content

Commit ff8175f

Browse files
committed
remove spi configure
1 parent 4067e63 commit ff8175f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

adafruit_tlc5947.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -158,9 +158,7 @@ def write(self):
158158
# Lock the SPI bus and configure it for the shift register.
159159
while not self._spi.try_lock():
160160
pass
161-
self._spi.configure(
162-
baudrate=self._spi.frequency, polarity=0, phase=0, bits=8
163-
)
161+
164162
# First ensure latch is low.
165163
self._latch.value = False
166164
# Write out the bits.

0 commit comments

Comments
 (0)