Files
PX4-Autopilot/boards/hex/cube-orange/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

15 lines
274 B
Bash

#!/bin/sh
#
# Board specific sensors init
#------------------------------------------------------------------------------
adc start
# SPI1
ms5611 -s -b 1 start
icm20649 -s -b 1 start
# SPI4
ms5611 -s -b 4 start
icm20602 -s -b 4 -R 12 start
icm20948 -s -b 4 -R 10 -M start