I am using the PCA9685 to control 6 RGB leds, i have 5 of them connected to the PCA9685 and one connected directly to the arduino pwm pins, my problem is how do i use the setPWM(channel, on, off) command in the library of that chip as it looks nothing like the AnalogWrite command, the setPWM has 2 values one for off and one for on and they range between 0 and 4096 while the arduino pwm pins range between 0 and 255 and they only take in one value per pin not 2.
How do i make them equivalent using variables in the code?
Thanks.