add rgbled_ncp5623c driver (#10889)

Co-Authored-By: CUAVcaijie <caijie@cuav.net>
This commit is contained in:
CUAVcaijie
2018-11-25 13:40:51 -05:00
committed by Daniel Agar
parent 1268109690
commit eb8a3de987
9 changed files with 533 additions and 0 deletions
+1
View File
@@ -59,4 +59,5 @@ static const int LED_UORB_QUEUE_LENGTH = BOARD_MAX_LEDS;
// Legacy paths - 2 are need to allow both pwm and i2c drviers to co-exist
#define RGBLED0_DEVICE_PATH "/dev/rgbled0" // Primary RGB LED on i2c
#define RGBLED1_DEVICE_PATH "/dev/rgbled1" // Primary RGB LED(NCP5623C) on i2c
#define RGBLED_PWM0_DEVICE_PATH "/dev/rgbled_pwm0" // Secondary RGB LED on PWM