vinothtnt
Junior Member level 1
about PWM inPIC16F877A
i am using the PIC 16F877A controller for making the 2MHz pwm pulse.with 50%duty cycle for tat i Wrote the following coding.Iam using the Hitech c compiler
PR2=0x00;
T2CON=0x04;
CCPR1L=0x00;
CCP1CON=0x1c;
for this program the output comes with the ripples.
i put 1uF capacitor across the PIC power supply pin to the ground .
i need the desired pulse without ripples.
i am using the PIC 16F877A controller for making the 2MHz pwm pulse.with 50%duty cycle for tat i Wrote the following coding.Iam using the Hitech c compiler
PR2=0x00;
T2CON=0x04;
CCPR1L=0x00;
CCP1CON=0x1c;
for this program the output comes with the ripples.
i put 1uF capacitor across the PIC power supply pin to the ground .
i need the desired pulse without ripples.