Files
bizhang_-obav/boards/cubepilot/cubeyellow/init/rc.board_sensors
Daniel Agar cfbf69f2a7 boards: rename Hex -> CubePilot
- hex_cube-orange_default -> cubepilot_cubeorange_default
 - hex_cube-yellow_default -> cubepilot_cubeyellow_default
2020-07-26 13:55:41 -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