In this lesson we learn how to control brightness in a LED using analogwrite function. This simple lesson will show you how to use Pulse Width Modulation to simulate analog voltages. Enjoy!