Files
bizhang_-obav/boards/modalai/fc-v1/init/rc.board_sensors
2020-06-11 12:25:13 -04:00

24 lines
459 B
Bash

#!/bin/sh
#
# ModalAI FC-v1 specific board sensors init
#------------------------------------------------------------------------------
adc start
# Start Digital power monitors
voxlpm -X -b 3 -T VBATT start
voxlpm -X -b 3 -T P5VDC start
# Internal SPI bus ICM-20602
icm20602 -R 12 -s start
# Internal SPI bus ICM-42688
icm42688p -R 12 -s start
# Internal SPI4 BMI088
bmi088 -A -R 12 -s start
bmi088 -G -R 12 -s start
# Internal I2C Baro
bmp388 -I start