back update
This commit is contained in:
@@ -71,7 +71,7 @@ class PCA9685(object):
|
|||||||
"""Initialize the PCA9685."""
|
"""Initialize the PCA9685."""
|
||||||
# Setup I2C interface for the device.
|
# Setup I2C interface for the device.
|
||||||
if i2c is None:
|
if i2c is None:
|
||||||
from .I2C import I2C as I2C
|
import I2C as I2C
|
||||||
i2c = I2C
|
i2c = I2C
|
||||||
self._device = i2c.get_i2c_device(address, **kwargs)
|
self._device = i2c.get_i2c_device(address, **kwargs)
|
||||||
self.set_all_pwm(0, 0)
|
self.set_all_pwm(0, 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user