The following program can be used control the brightness of LED using a potentiometer. The program reads analog input and changes the PWM value on the basis of it.

Dependencies:   mbed

History

First Commit default tip

2018-07-15, by abhishek92 [Sun, 15 Jul 2018 22:03:16 +0000] rev 0

First Commit