PCF9685 Dimmen slow

say it counts down and i wont it to count up 255 but the brightness payload is 166 it will only count to 166 from previous 0

i have added a delay in parallel with a 1 second delay to send an 0 or 255 payload to overcome this now

thank you for the reply