saeidjabbari
Joined: 25 Mar 2010 Posts: 8
|
PWM Instruction |
Posted: Sun Apr 18, 2010 4:06 pm |
|
|
Hi
I want to know what is difference between two modes of PWM instruction?
Code: |
setup_ccp1(CCP_PWM);
set_pwm1_duty(value);
setup_timer_2(T2_DIV_BY_16,PR,1)
|
and
Code: |
setup_power_pwm(modes, postscale, time_base, period,compare,compare_postscale, dead_time)
set_power_pwm_override(pwm, override, value)
setup_power_pwm_pins(module0,module1,module2,module3)
|
|
|