Use following constructors if you want to create some PCA9685 from your python scripts.
Parameters :
from webiopi.devices.analog import PCA9685
# Setup a PCA9685 on I2C slave 0x40 (default)
pca0 = PCA9685()
# or
pca0 = PCA9685(slave=0x40)
# Setup a PCA9685 on I2C slave 0x41
pca1 = PCA9685(slave=0x41)
Use following syntax to setup some PCA9685 in the webiopi service/command configuration file.
[DEVICES]
# Setup a PCA9685 on I2C slave 0x40 (default)
pca0 = PCA9685
# or
pca0 = PCA9685 slave:0x40
# Setup a PCA9685 on I2C slave 0x41
pca1 = PCA9685 slave:0x41