Content originally posted in LPCWare by ElMoe on Tue Jan 27 23:12:43 MST 2015
Hi nerd herd,
thanks for your quick answer! I had some trouble with the spamfilter.
I wanted to share an URL to an NXP Homepage but the spamfilter wouldn't let me do that...
So here is my post from two days ago:
I use the LPCXpresso IDE and the example code PREV601 MIFARE Ultralight Project from the NXP Homepage.
I found the files gpio.h, gpio.c defining the beahviour of the GPIOs and there is no GetValue() or GetPinState() method mentioned.
So I am of the oppinin (and a bit scared... :~ ), that no such method exists in the given API.
Even in the UM of the LPC1227 no way to get the state of a GPIO is mentioned.
For completeness, i added the three files gpio.h, gpio.c and hw_config.h, how I use them actually.