zamzam23
Joined: 25 Aug 2010 Posts: 47
|
|
Posted: Mon Jul 04, 2011 7:46 pm |
|
|
what is the difference between
setup_timer_2(T2_DIV_1, 124, 1 );
setup_ccp1( CCP_PWM );
set_pwm1_duty( 250L ); // square wave output - 50% duty
and
setup_timer_2(T2_DIV_1, 124, 1 );
setup_ccp1( CCP_PWM );
set_pwm1_duty(62); // square wave output - 50% duty ? |
|