S32k118evb RGB LED components

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

S32k118evb RGB LED components

415件の閲覧回数
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 返答(返信)

405件の閲覧回数
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 件の賞賛
返信

362件の閲覧回数
ALKAREEM
Contributor I
I will try it, Thank you so much
0 件の賞賛
返信