What is a proper way to control GPIO LED in Android Automotive?

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

What is a proper way to control GPIO LED in Android Automotive?

659 次查看
trongthinh
Contributor IV

My hardware needs a LED for user notification. I connected a LED to a GPIO in i.MX8 and already ported the linux driver. The led interface is "/sys/class/leds/brightness". My target is to provide an API for Android application developer can control this LED.

I still don't know how to archive it in a proper way. I have some question as below:

1. Does this idea is a correct usage of Android Automotive?

2. If it is a correct usage, please give me some suggesstion to archive this requirement?

Thanks!

标记 (3)
0 项奖励
回复
0 回复数