Is it possible to give the PCA9685 a fade function like the ESP GPIO (
Code: Select all
PWM,<GPIO>,<duty>,<duration>
E.g.
Code: Select all
PCAPWM,1,4095,500
Moderators: grovkillen, Stuntteam, TD-er
Code: Select all
PWM,<GPIO>,<duty>,<duration>
Code: Select all
PCAPWM,1,4095,500
The fading is done in a loop, exactly how the fading is done for the regular PWM command, using a loop-step of ca. 1 msec. Not something that can be off-loaded to the PCA, unfortunately.
Once PR #3970, that I opened today, is merged and a new release published, everyone can enjoy this feature
The issue here is that it needs a redesign of a) the way the fading is done, and b) the way the GPIO's are controlled. That should be in some time-critical loop, where it now is just a call-out to this output routine.
Users browsing this forum: No registered users and 8 guests