lights: use driver base class

This commit is contained in:
Beat Küng
2020-03-10 13:25:37 +01:00
committed by Daniel Agar
parent 692d262e0e
commit ec2de33547
14 changed files with 238 additions and 375 deletions
+2
View File
@@ -3,6 +3,8 @@
# PX4 FMUv2 specific board sensors init
#------------------------------------------------------------------------------
rgbled start -I
adc start
# External I2C bus
+2
View File
@@ -3,6 +3,8 @@
# PX4 FMUv3 specific board sensors init
#------------------------------------------------------------------------------
rgbled start -I
adc start
# External I2C bus
@@ -3,6 +3,8 @@
# PX4 FMUv4pro specific board sensors init
#------------------------------------------------------------------------------
rgbled start -I
adc start
# Internal SPI bus ICM-20608-G
+2 -2
View File
@@ -15,7 +15,7 @@ fi
if param compare SYS_AUTOSTART 6002
then
# GPS LED
rgbled_ncp5623c start -a 0x38
rgbled_ncp5623c start -X -a 0x38
#mpu6000 -s -R 4 -T 20608 start
mpu9250 -R 4 start
@@ -34,7 +34,7 @@ fi
if param compare SYS_AUTOSTART 4071
then
# IFO GPS LED
rgbled_ncp5623c start -a 0x38
rgbled_ncp5623c start -X -a 0x38
# IFO rgb LED
pca9685 start