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?
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!
-----------------------------------------------------------------------------------------------------------------------