Is it possible to reduce the intensity of an led?

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Feb 6, 2018 by heru setiawan
Content originally posted in LPCWare by sandy29 on Fri Dec 27 02:14:27 MST 2013
Hi friends,
                I am using LPC812 board.
I want to reduce the intensity(like breathing) of the led which is present in the board using PWM. I wanted to know wether we can control the led by varying the duty cycle(i,e PWM).I am trying to change the Blinky code which is present in the LPC IDE. The led should glow from low intensity to high intensity. Is it possible to do so? Please help me :)

Thanks in advance