LPCXPRESSO 1549 LED

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

LPCXPRESSO 1549 LED

1,176件の閲覧回数
svip
Contributor I

Hi to all, i am beginner  with lpcxpresso boards and i tried to turn on one of the three leds on the board without writing a code by myself. 

teorecally i suppose to perfoms the ollowing operation

1) createv a project for the lpcspresso 1549

2) set the gpio bank involved the leds as output

3) provide the rigth values to the gpio banks in order to turn on the led

i found these two functions on other template

Chip_GPIO_SetPortDIROutput(LPC_GPIO, 0, PORT_MASK);


Chip_GPIO_SetPortMask(LPC_GPIO, 0, ~PORT_MASK);

 i suppose that i need to replace the values LPC_GPIO, 0 with the values relative to the led.

can someone help me?

ラベル(1)
タグ(1)
0 件の賞賛
返信
1 返信

938件の閲覧回数
soledad
NXP Employee
NXP Employee

Hello luca di nunzio,

Please check the following document  How to create a new LPC project using LPCOpen and LPCXpresso 

This document describes how to create a new LPC project using LPCOpen v2.xx, LPCXpresso v8.2.2 and LPC11U24 LPCXpresso board. In addition describes how to create 2 simple example codes.

I hope this helps!!


Have a great day,
Sol

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

0 件の賞賛
返信