Fading Example
the arduino sdk includes pwm example called "fading". haven't tried yet because don't have hardware (led). however, after looking @ example modifies voltage (amplitude) of signal , not ratio (width) of signal. missing here?
quote
it modifies voltage (amplitude) of signalit no such thing.
the output digital pin 0v or 5v. second parameter of analogwrite() alters proportion of time spent @ each voltage , hence average voltage of pin on time.
Arduino Forum > Using Arduino > Programming Questions > Fading Example
arduino
Comments
Post a Comment