We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8dd1a7c + 46071fd commit 826f130Copy full SHA for 826f130
adafruit_tlc59711.py
@@ -174,7 +174,7 @@ def _write(self):
174
# Lock the SPI bus and configure it for the shift register.
175
while not self._spi.try_lock():
176
pass
177
- self._spi.configure(baudrate=10000000, polarity=0, phase=0)
+ self._spi.configure(baudrate=self._spi.frequency, polarity=0, phase=0)
178
# Update the preamble of chip state in the first 4 bytes (32-bits)
179
# with the write command, function control bits, and brightness
180
# control register values.
0 commit comments