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

Revisions of main.cpp

Revision Date Message Actions
0:2a78fd35d2ed 2018-07-15 First Commit File  Diff  Annotate