LPC54018 LED Example Wrong pin number

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LPC54018 LED Example Wrong pin number

1,017 次查看
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

 

标签 (2)
标记 (2)
0 项奖励
回复
1 回复

1,003 次查看
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 项奖励
回复