MARAD75
- 14th November 2007, 20:57
I am using a 12F683 to use the PWM module in it. I am strictly limited to an 8 pin device due to size constraints and PCB layout.
I realize that the CCP1 pin is GP2. What I need to do is occasionally use another pin, such as GP5 for the PWM output. Is this even possible with this device? If so, does anyone have information and maybe sample code so that this can be done with PBP?
There is only one pin to be used for the HPWM output at a time. (either GP2 OR GP5) They will never be used together at the same time in this setup!
If it is not possible to do this with the 12F683, can anyone suggest another 8 pin chip that may have this capability?
Thanks for the help!
Ron
I realize that the CCP1 pin is GP2. What I need to do is occasionally use another pin, such as GP5 for the PWM output. Is this even possible with this device? If so, does anyone have information and maybe sample code so that this can be done with PBP?
There is only one pin to be used for the HPWM output at a time. (either GP2 OR GP5) They will never be used together at the same time in this setup!
If it is not possible to do this with the 12F683, can anyone suggest another 8 pin chip that may have this capability?
Thanks for the help!
Ron