rc.board_sensors
402 Bytes
#!/bin/sh
#
# Board specific sensors init
#------------------------------------------------------------------------------
board_adc start
# SPI4
ms5611 -s -b 4 start
icm20602 -s -b 4 -R 12 start
icm20948 -s -b 4 -R 10 -M start
# SPI1
ms5611 -s -b 1 start
icm20649 -s -b 1 start
# standard Here/Here2 connected to GPS1
ak09916 -X -b 1 -R 6 start # external AK09916 (Here2) is rotated 270 degrees yaw