mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
17 lines
466 B
Bash
17 lines
466 B
Bash
#!/bin/sh
|
|
#
|
|
# AirBrainH743 specific board sensors init
|
|
#------------------------------------------------------------------------------
|
|
|
|
board_adc start
|
|
|
|
# Internal SPI bus IMU - ICM42688P (Invensensev3)
|
|
icm42688p -R 2 -b 1 -s start
|
|
|
|
# Internal I2C bus barometer - DPS310 @ 0x76 (118 decimal)
|
|
dps310 -I -a 118 start
|
|
|
|
# Internal I2C bus magnetometer - LIS2MDL @ 0x1E (30 decimal)
|
|
# Using iis2mdc driver (functionally equivalent to LIS2MDL)
|
|
iis2mdc -I -R 2 -a 30 start
|