I have a question regarding the duty cycle. I understand that fading an led on and off is not linear, but i would like to increase the duty cycle in a linear pattern, for now.
I seen to have a problem though. It doesn't seem as simple as to just increase a register by one, because the values associated with the duty cycle are concatenated from two registers.
(CCPR1L:CCP1CON<4:5>), and is 10 bits.
I'm wondering if there's a simple trick i can use to increase my duty cycle.
Thank you, Kronoss
If you need my code just pm me