8 years, 8 months ago.

How to define an undifined PIN

Hi I have a new PCB using LPC 1347, M3 Part,

I have been using Solder Splash M3 but my PCB uses more of the pins,

I now get compiler Error 20,

DigitalOut myled1 (P1_13);
DigitalOut myled2 (P1_2);
DigitalOut myled3 (P1_5);
DigitalOut myled4 (P1_28);

the first & last are OK, but the middle two will not compile !

The help states I need to convert 'MBED' to library, but that option is no longer available ?

Is there a new way to add pins etc,

Cheers

Ceri

1 Answer

8 years, 8 months ago.

Delete your mbed lib, import mbed-dev, modify this file to be correct: https://developer.mbed.org/users/mbed_official/code/mbed-dev/file/75b7d1f8d36d/targets/hal/TARGET_NXP/TARGET_LPC13XX/PinNames.h

Accepted Answer

Phew !!!!!!!

posted by ceri clatworthy 24 Mar 2016