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
Files at revision 0:3b7f012600ec
Name | Size | Actions |
---|---|---|
[up] | ||
LPC4088-adc.h | 814 | Revisions Annotate |
LPC4088-gpio.h | 2858 | Revisions Annotate |
LPC4088-ioconfig.h | 13560 | Revisions Annotate |
LPC4088-pwm.h | 2330 | Revisions Annotate |
LPC4088-system.h | 168 | Revisions Annotate |
LPC4088-timer.h | 4142 | Revisions Annotate |
main.c | 2217 | Revisions Annotate |
mbed.bld | 65 | Revisions Annotate |