In an analog PWM you change the value of some component. A manual method is to use a potentiometer to change a resistence. This resistance determines the rate of charging or discharging of a capacitor. Adjusting this charge/discharge rate is what changes the pulse width.Originally posted by charcle@Mar 14 2006, 11:46 AM
yup..i could understand that..but how could i change the duty cycle??
In a digital PWM you change the value of a register and that changes the value of the pulse width.