Since both microcontrollers only have one pwm channel, my question is:
How easy is it to add a code to bit bang a second channel so when the CCP1 pin goes high, another pin goes high at the same time.
Then each pin will go low depending on two pots settings. One pin controlled by CCP1, and the other bin controlled after a delay that was triggered by CCP1.
Obviously this 2nd pwm control has to go low before it's re-triggered.
I'm not sure if asking too much, but I have seen some very clever C coding by some people
Thank you and looking forward to reading any replies.