diff --git a/adafruit_tlc59711.py b/adafruit_tlc59711.py index 4693d5d..8137d52 100644 --- a/adafruit_tlc59711.py +++ b/adafruit_tlc59711.py @@ -174,7 +174,7 @@ def _write(self): # Lock the SPI bus and configure it for the shift register. while not self._spi.try_lock(): pass - self._spi.configure(baudrate=10000000, polarity=0, phase=0) + self._spi.configure(baudrate=self._spi.frequency, polarity=0, phase=0) # Update the preamble of chip state in the first 4 bytes (32-bits) # with the write command, function control bits, and brightness # control register values.