This program demonstrates the usage of the ADC. Program sets pin P1.31 as an ADC chanel 5 input to which we connect the potentiometer. Program then turns on an embedded LED on the LPC4088 QSB when the potentiometer's digital value exceeds the middle value.
Dependencies: mbed
Revisions of main.c
Revision | Date | Message | Actions |
---|---|---|---|
0:3b7f012600ec | 2015-05-02 | This is the first commit of this program. | File Diff Annotate |