LPC54018 LED Example Wrong pin number

cancel
Showing results for 
Search instead for 
Did you mean: 

LPC54018 LED Example Wrong pin number

90 Views
ahmed_mostafa
Contributor II

Hello,

I'm trying to understand the documentation for the "lpc54018iotmodule_gpio_led_blink_xip project" that I downloaded through MCUExpresso.

Why is the pin number designated as 13 but the comments (and the actual pin number that controls the LED) say 14?

ahmed_mostafa_0-1610398663300.png

I am using the LPC54018 IoT board and the example that comes with the SDK. This snippet was captured from the pinmux.c file.

Thanks

 

Labels (2)
Tags (2)
0 Kudos
1 Reply

76 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello ahmed_mostafa,

 

Yes, the default code is wrong,please update the code from "Update Code":

2021-01-12_11-27-16.jpg

Then it will be right.

 

Regards,

Alice

 

 

 

 
0 Kudos