S32k118evb RGB LED components

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32k118evb RGB LED components

416 Views
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

 

Labels (1)
0 Kudos
Reply
2 Replies

406 Views
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 Kudos
Reply

363 Views
ALKAREEM
Contributor I
I will try it, Thank you so much
0 Kudos
Reply