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

Revision:
0:3b7f012600ec
diff -r 000000000000 -r 3b7f012600ec LPC4088-system.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/LPC4088-system.h	Sat May 02 17:33:44 2015 +0000
@@ -0,0 +1,4 @@
+//LPC4088 sistemski in clock registri
+
+#define PCONP       (*((volatile unsigned int *) 0x400FC0C4))
+#define RSTCON0     (*((volatile unsigned int *) 0x400FC1CC))   
\ No newline at end of file