How to calculate CCPR1L in varying data?
and also,
CCPR1L contains the upper 8 bits of the 10 bit Duty Cycle value CCP1CON<5:4> contain the lower 2 bits
How to divide the 8 bits and 2 bits in calculation?
- - - Updated - - -
I have formula and i got a pwm in standard data but i am confused,about automatic calculation in program?
I am using Hi-tech c compiler.
and also,
CCPR1L contains the upper 8 bits of the 10 bit Duty Cycle value CCP1CON<5:4> contain the lower 2 bits
How to divide the 8 bits and 2 bits in calculation?
- - - Updated - - -
I have formula and i got a pwm in standard data but i am confused,about automatic calculation in program?
I am using Hi-tech c compiler.