Files
PX4-Autopilot/boards/mro/x21/init/rc.board_sensors
T
Daniel Agar 6f6efd60b7 boards: centralize optional external I2C sensor start
- configured with new parameter SENS_EXT_I2C_PRB
2020-06-10 09:04:13 -04:00

19 lines
332 B
Bash

#!/bin/sh
#
# mRo x21 specific board sensors init
#------------------------------------------------------------------------------
adc start
# Internal SPI bus ICM-20608-G
icm20608g -s -R 8 start
# Internal SPI bus ICM-20602
icm20602 -s -R 8 start
# Internal SPI bus mpu9250
mpu9250 -s -R 8 start
# Internal SPI
ms5611 -s start