Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
10 years ago.
What number PIN is the LED1 assigned on LPC810
In your mbed_blinky program main.cpp, which pin of LPC810 should I connect "DigitalOut myled(LED1)"?
Question relating to:
1 Answer
10 years ago.
Hi there! :) Looks like pins for LPC810 look like this:
mbed/libraries/mbed/targets/hal/TARGET_NXP/TARGET_LPC81X/TARGET_LPC810/PinNames.h
// mbed original LED naming LED1 = P0_2, LED2 = P0_2, LED3 = P0_2, LED4 = P0_2, LED_RED = P0_2,
You can find this definitions in source code of mbed SDK: https://github.com/mbedmicro/mbed/blob/master/libraries/mbed/targets/hal/TARGET_NXP/TARGET_LPC81X/TARGET_LPC810/PinNames.h