mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-29 01:30:35 +08:00
cd485b3a13
This adds support for the TI LP5562 RGB LED driver. Things to note: - The driver is initialized in simple PWM mode using its internal clock, for R,G,B, but not for W(hite). - The chip doesn't have a WHO_AM_I or DEVICE_ID register to check. Instead we read the W_CURRENT register that we're generally not using and therefore doesn't get changed. - The current is left at the default 17.5 mA but could be changed using the command line argument. Datasheet: https://www.ti.com/lit/ds/symlink/lp5562.pdf Signed-off-by: Julian Oes <julian@oes.ch>
13 lines
364 B
Plaintext
13 lines
364 B
Plaintext
menu "Lights"
|
|
menuconfig COMMON_LIGHT
|
|
bool "Common Light's"
|
|
default n
|
|
select DRIVERS_LIGHTS_RGBLED
|
|
select DRIVERS_LIGHTS_RGBLED_NCP5623C
|
|
select DRIVERS_LIGHTS_RGBLED_IS31FL3195
|
|
select DRIVERS_LIGHTS_RGBLED_LP5562
|
|
---help---
|
|
Enable default set of light drivers
|
|
rsource "*/Kconfig"
|
|
endmenu
|