Cant configure P1_3 and P1_11 as inputs on LPC1549..

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Cant configure P1_3 and P1_11 as inputs on LPC1549..

598 次查看
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. 

标签 (1)
0 项奖励
回复
1 回复

470 次查看
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 项奖励
回复