Files
bizhang_-obav/boards/mro/x21/init/rc.board_sensors

25 lines
500 B
Plaintext
Raw Normal View History

#!/bin/sh
#
2020-01-22 14:58:57 -05:00
# mRo x21 specific board sensors init
#------------------------------------------------------------------------------
2019-11-11 15:35:59 -05:00
adc start
# External I2C bus
hmc5883 -C -T -X start
lis3mdl -X start
ist8310 -C start
qmc5883 -X start
# Internal SPI bus ICM-20608-G is rotated 90 deg yaw
mpu6000 -R 2 -T 20608 start
# Internal SPI bus ICM-20602-G is rotated 90 deg yaw
mpu6000 -R 2 -T 20602 start
# Internal SPI bus mpu9250 is rotated 90 deg yaw
mpu9250 -R 2 start
# Internal SPI
ms5611 -s start