Setting Duty Cycle | Microcontroller › PIC › Setting Duty Cycle This topic has 1 reply, 2 voices, and was last updated 9 years, 11 months ago by AJISH ALFRED. Viewing 2 posts - 1 through 2 (of 2 total) Author Posts April 10, 2013 at 11:59 am #2257 Chester AndersonParticipant We tried PWM in PIC in our college today but the duty cycle was varying at irregular intervals, what can be the possible cause? April 11, 2013 at 4:38 pm #9465 AJISH ALFREDParticipant Hi Chester, Have you generated pwm using timers? If yes this could be due to the poor performance of your crystal oscillator. Try changing the oscillator, decoupling capacitors. Also check if their value is correct or not? Author Posts Viewing 2 posts - 1 through 2 (of 2 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In