S32k118evb RGB LED components

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

S32k118evb RGB LED components

208 次查看
ALKAREEM
Contributor I

Hello,

I have the S32K118evb, 
I want to use the RGB LED on the board so that I can send the different values of the R, G, and B components to the RGB LED so that I can get the corresponding color to these components,
How can I do this and where to start???

for example, I want to send [ 5, 10, 255],  for [R, G, B]

I can turn the RGB LED on and off but,  how can I control the intensity of each color component 
Thanks in advanced

 

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

198 次查看
VaneB
NXP TechSupport
NXP TechSupport

Hi @ALKAREEM 

You can control the brightness of the LED with the PWM mode of the FlexTimer module. We have available examples of this implementation in the two software we offer for the S32K1 devices, attached to my answer are the links to download them.

Real-Time Drivers for S32K1

S32 SDK for S32K1xx

 

B.R.

VaneB

0 项奖励
回复

155 次查看
ALKAREEM
Contributor I
I will try it, Thank you so much
0 项奖励
回复