AnsweredAssumed Answered

LPCXPRESSO 1549 LED

Question asked by luca di nunzio on Jan 2, 2017
Latest reply on Jan 3, 2017 by soledad

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?

Outcomes