Files
bizhang_-obav/boards/mro/ctrl-zero-f7/init/rc.board_sensors
2020-03-17 23:31:17 -04:00

28 lines
514 B
Bash

#!/bin/sh
#
# mRo Control Zero specific board sensors init
#------------------------------------------------------------------------------
adc start
# Internal ICM-20602
mpu6000 -R 10 -s -T 20602 start
# Internal ICM-20689
#icm20689 -R 10 20689 start
# Internal SPI bus BMI088 accel
bmi088 -A -R 10 start
# Internal SPI bus BMI088 gyro
bmi088 -G -R 10 start
# Interal DPS310 (barometer)
dps310 -s start
# Possible external compasses
ist8310 -X start
hmc5883 -C -T -X start
qmc5883 -X start
lis3mdl -X start