i've bought a PCA9685 for my stair lightning.
now i'd like to dim every channel up to 100% (4095 steps) from 0% in 2 seconds.
Thats what I can do by the normal pwm command (if i use the onboard GPIOs of the ESP)
Code: Select all
pwm GPIO#,4095,2000
As I've seen in the wiki there is no 3rd parameter for the timing and even when i set a higher step it wouldn't dim up - it sets this hard.
The command is
Code: Select all
pcapwm PIN,4095
The goal would be a command from FHEM to the ESP - connected to the PCA9685 which is dimming up smoothly from 0 to 100 % in 2 seconds.
Thanks
Börny