Program which demonstrates the usage of the IOCONFIG & GPIO peripherals. Program only blinks the LED based on the push of the button embedded on the LPC4088 QSB. Blinking is done using the primitive delay function which only makes microprocessor busy for some time. Source code is split - we keep register definitions in header files away from the main source file.

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
71GA
Date:
Sat May 02 17:23:20 2015 +0000
Parent:
0:f527456a69f2
Commit message:
First commit of this program.

Changed in this revision

main.c Show annotated file Show diff for this revision Revisions of this file
diff -r f527456a69f2 -r 6eac03db3e22 main.c
--- a/main.c	Sat May 02 17:21:33 2015 +0000
+++ b/main.c	Sat May 02 17:23:20 2015 +0000
@@ -38,7 +38,7 @@
         
             delay();
 
-            //prizgemo P1.13 preko celotnega porta
+            //ugasnemo P1.13 preko celotnega porta
             PIN1 = PIN1 & !(1<<13);
         
             delay();