Use Pulse Width Modulation to dim a LED