dor8
Junior Member level 1
- Joined
- Mar 24, 2014
- Messages
- 15
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 114
I am using Pic 16f886. The Pic has two outputs CCP1 & CCP2. But according to the data sheet it has 4 PWM outputs P1A, P1B, P1C and P1D. What are the functionality of P1A-P1D? Can they be used for Duty Cycle and frequency (if yes, how)? My circuit has 4 transistors because I need four outputs of PWM. If the P1A-P1D are no good for duty cycle, how to implement the interrrupt.
** i know how to use in CCP1 & CCP2 but i dont know nuting about P1A, P1B, P1C and P1D and how to use in there, i think i can to use in interupt rise/ fault , I connect the port of CCP1 to DIGITAL and becomes the value - the duty cycle is changing - I do BUCK BOOST Converter Enhanced been pushed
The duty cycle is variable, however the frequency is constant. Does anybody have code that shows how to use a variable duty cycle (hi tech C compiler)
Are the routines sqrt and sqr implemented in hi tech C?
thenq you/
** i know how to use in CCP1 & CCP2 but i dont know nuting about P1A, P1B, P1C and P1D and how to use in there, i think i can to use in interupt rise/ fault , I connect the port of CCP1 to DIGITAL and becomes the value - the duty cycle is changing - I do BUCK BOOST Converter Enhanced been pushed
The duty cycle is variable, however the frequency is constant. Does anybody have code that shows how to use a variable duty cycle (hi tech C compiler)
Are the routines sqrt and sqr implemented in hi tech C?
thenq you/