A1 | Address | Variable Name |
---|---|---|
0 | 0x60 | I2C_ADDRESS_1 |
1 | 0x61 | I2C_ADDRESS_2 |
A2 | A1 | A0 | Address | Variable Name |
---|---|---|---|---|
0 | 0 | 0 | 0x60 | I2C_ADDRESS_1 |
0 | 0 | 1 | 0x61 | I2C_ADDRESS_2 |
0 | 1 | 0 | 0x62 | I2C_ADDRESS_3 |
0 | 1 | 1 | 0x63 | I2C_ADDRESS_4 |
1 | 0 | 0 | 0x64 | I2C_ADDRESS_5 |
1 | 0 | 1 | 0x65 | I2C_ADDRESS_6 |
1 | 1 | 0 | 0x66 | I2C_ADDRESS_7 |
1 | 1 | 1 | 0x67 | I2C_ADDRESS_8 |
A2 | A1 | A0 | Address | Variable Name |
---|---|---|---|---|
0 | 0 | 0 | 0x60 | I2C_ADDRESS_1 |
0 | 0 | 1 | 0x61 | I2C_ADDRESS_2 |
0 | 1 | 0 | 0x62 | I2C_ADDRESS_3 |
0 | 1 | 1 | 0x63 | I2C_ADDRESS_4 |
1 | 0 | 0 | 0x64 | I2C_ADDRESS_5 |
1 | 0 | 1 | 0x65 | I2C_ADDRESS_6 |
1 | 1 | 0 | 0x66 | I2C_ADDRESS_7 |
1 | 1 | 1 | 0x67 | I2C_ADDRESS_8 |
Address | Variable Name |
---|---|
0x62 | I2C_ADDRESS_3 |
Address | Variable Name |
---|---|
0x63 | I2C_ADDRESS_4 |
Each chip has two banks of configuration of for the pulse width modulation. Each of the Pins can be set to one of 4 settings, Off, ON Full, Pulse Width Modulation Configuration 1, Pulse Width Modulation Configuration 2
PCA9530(Address) or PCA9530(Address)
PCA9531(Address) or PCA9531(Address)
PCA9532(Address) or PCA9532(Address)
PCA9533(Address) or PCA9533(Address)
PCA9550(Address) or PCA9550(Address)
PCA9551(Address) or PCA9551(Address)
PCA9552(Address) or PCA9552(Address)
PCA9553(Address) or PCA9553(Address)
.begin()
.remotedigitalWrite(int pin, uint8_t output)
pin = (PCA9530 or PCA9550) 0-1;
(PCA9531 or PCA9551) 0-7;
(PCA9532 or PCA9552) 0-15;
(PCA9533 or PCA9553) 0-3;
output = LOW - Off
HIGH - ON
PWM0 - Pulse Width Bank 1
PWM1 - Pulse Width Bank 2
.blinkperiod(float freq, int PSC)
PSC = 0 for Pulse Width Configuration 1
1 for Pulse Width Configuration 2
.brightness(float duty_cycle, uint8_t PWM)
duty_cycle = 0-100%
PWM = PWM0 for Pulse Width Configuration 1
PWM1 for Pulse Width Configuration 2