Quantcast
Channel: Power management forum - Recent Threads
Viewing all articles
Browse latest Browse all 35901

Compiler/LP5024: LP5024 LED Control

$
0
0

 

Part Number: LP5024

Tool/software: TI C/C++ Compiler

It is developing products using LP5024.
I'm making a driver by looking at the example file here, and I have a question and leave a message.
I'm looking for a way to turn off all or some LEDs after using the RGB LED. Can I use the LED_Global_Off located on DEVICE_CONFIG1 Register?

And how do you set it up when you want to express different colors out of 7 LEDs?

ex)

 LP5024_Mode_Select_Normal();
 LP5024_Device_Config1(0x3C);
 LP5024_LED_CONFIG0(0x01);  
 LP5024_Bank_Brightness_Set(255);
 LP5024_Bank_Color_Set(0,255,0);

 LP5024_LED_CONFIG0(0x02);  
 LP5024_Bank_Brightness_Set(255);
 LP5024_Bank_Color_Set(255,0,0);

 LP5024_LED_CONFIG0(0x04);  
 LP5024_Bank_Brightness_Set(255);
 LP5024_Bank_Color_Set(0,0,255);

..............


If there is an effective control method, I hope you can show sample reservation.

I wish you a happy day again.


Viewing all articles
Browse latest Browse all 35901

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>