And last one for today - I had problems with setting oscillator speed by #use delay(). I've tried different ways and either hardware speed was wrong but delay_ms() correct or vice versa.
I use intern ...
Another question - now all my 3 channels have the same period which is set by Timer2 Prescaler and Period Register PR2. Duty of each PWM is hold in CCPRxH & CCPRxL.
What datasheet says about tha ...
Thank you. It's more clear now. But where is it described? I've tried searching ccs help file with no luck.
I've worked all day on this and managed to make it working with some changes. Closer look ...