flower2007
Newbie level 6
- Joined
- Jul 19, 2007
- Messages
- 12
- Helped
- 2
- Reputation
- 4
- Reaction score
- 2
- Trophy points
- 1,283
- Activity points
- 1,362
I want to compile the following line of code for pic18f4520 controller ,but it gives an error message (Undefined Identifier setup_power_pwm) .
setup_ccp1(ccp_pwm, ccp_pwm_full_bridge);
setup_power_pwm(PWM_CLOCK_DIV_4 | PWM_FREE_RUN |PWM_DEAD_CLOCK_DIV_4,1,0,255,0,1,0);
I want to use the ECCP module to drive full bridge out put stage. I am using ccs pch compiler.
any one help me explaining power pwm parameter for the said controller.
thanks.
setup_ccp1(ccp_pwm, ccp_pwm_full_bridge);
setup_power_pwm(PWM_CLOCK_DIV_4 | PWM_FREE_RUN |PWM_DEAD_CLOCK_DIV_4,1,0,255,0,1,0);
I want to use the ECCP module to drive full bridge out put stage. I am using ccs pch compiler.
any one help me explaining power pwm parameter for the said controller.
thanks.