px4-firmware/boards/airmind/mindpx-v2/init/rc.board_sensors

22 lines
376 B
Plaintext
Raw Normal View History

#!/bin/sh
#
# Airmind Mindpx-v2 specific board sensors init
#------------------------------------------------------------------------------
2019-11-11 16:35:59 -04:00
adc start
# External I2C bus
hmc5883 -C -T -X start
qmc5883 -X start
# Internal I2C bus
hmc5883 -C -T -I -R 12 start
mpu6000 -s -R 8 start
mpu9250 -s -R 8 start
lsm303d -R 10 start
l3gd20 -R 14 start
# Internal SPI
ms5611 -s start