Read an input on LPCXpresso LPC1114 Rev A

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Read an input on LPCXpresso LPC1114 Rev A

282 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Mauro on Mon Jun 14 05:20:01 MST 2010
Hi,
First, sorry for  my English.
It is the first time I program in C language on ARM  systems,
I do not know what to do to read the input (PIO1.0), which I  have a button.
Board LPC1114 LPCXpresso REV A
The input is  configured as an input with pull-up.
Thank you.
0 Kudos
2 Replies

262 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Mauro on Tue Jun 15 02:08:51 MST 2010
Now it  works correctly,
Thank you.
0 Kudos

262 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Mon Jun 14 06:41:03 MST 2010
There is a simple implementation of a  GPIOReadValue() function in the following forum thread which might provide the functionality you are looking for...

http://knowledgebase.nxp.com/showthread.php?p=1286

Regards,
CodeRedSupport
0 Kudos