Cant configure P1_3 and P1_11 as inputs on LPC1549..

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Cant configure P1_3 and P1_11 as inputs on LPC1549..

462件の閲覧回数
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 返信

334件の閲覧回数
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 件の賞賛