Cant configure P1_3 and P1_11 as inputs on LPC1549..

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

Cant configure P1_3 and P1_11 as inputs on LPC1549..

453 Views
tonybazouni
Contributor I

For some reason this ain't working. :smileysad:


Chip_GPIO_SetPinDIRInput(LPC_GPIO, 1, 11);

Chip_GPIO_SetPinDIRInput(LPC_GPIO, 1, 3);

I measuring 0 volts on the pins, and they are always reading low. 

Labels (1)
0 Kudos
1 Reply

325 Views
jeremyzhou
NXP Employee
NXP Employee

Hi Tony,

Please refer to the pinint demo in the LPCOpen library.

The LPCOpen library link is below.

LPCOpen Software for LPC15XX|NXP
Have a great day,
Ping

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos