25 May, 2010

PWM - Pulse Width Modulation - Arduino

Today i discovered what the digtal I/O pins labeled with a "PWM" were for.  They can be use to make a digital signal pulse instead of be on or off.  This means that you can make an LED fade on and off without using 1000's of on's and off's.

The IDE function used to do this is called analogWrite()

No comments:

Post a Comment