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:

The example program for mbed pin-compatible platforms Blinky, mbed blinky, mbed_blinky, mbedblinky

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