Skip to content

Commit 00be326

Browse files
authored
Merge pull request #23 from FoamyGuy/fix_hardcoded_baudrate
use existing spi baudrate instead of hardcoded
2 parents 60d3653 + ff8175f commit 00be326

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_tlc5947.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +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(baudrate=1000000, polarity=0, phase=0, bits=8)
161+
162162
# First ensure latch is low.
163163
self._latch.value = False
164164
# Write out the bits.

0 commit comments

Comments
 (0)