http://blog.makezine.com/?p=98982
Another clever trick from the world of electronics — Pulse Width Modulation is a simple method for controlling analog devices via a digital signal. It’s also an efficient way to drive motors, lamps, LEDs, and more.
ADVERTISEMENT