LED Blink Test in T2080RDB-PC

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

LED Blink Test in T2080RDB-PC

1,019 次查看
anshulkhare
Contributor III

Hello All,

i have a T2080RDB-PC board, i am new to this board.

As per T2080 product brief GPIO is connected to status LED,

how to control the LED status From user application?

i am trying to write simple c program for LED blink but i am not getting any register information

in Data Sheet for controlling the LED status and i tried to search in build also but i am not getting any header file .

please help me to solve this issue.

Thanks in Advance !!

Regards,

Anshul

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

910 次查看
Pavel
NXP Employee
NXP Employee

The simplest way for GPIO using under Linux is sysfs possibility.

NXP SDK Linux BSP supports sysfs.

See the following pages:

 

https://www.kernel.org/doc/Documentation/gpio/sysfs.txt

 

https://elinux.org/GPIO


Have a great day,
Pavel Chubakov

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复