hydrophonitor/scripts/start-pressure-depth.sh

12 lines
281 B
Bash

#!/bin/bash
set -x
# Export the configuration values
SCRIPT_PATH=/home/pi/hydrophonitor/scripts
. $SCRIPT_PATH/export-config-values.sh
OPTIONS="--output $OUTPUT_DIR --interval $DEPTH_INTERVAL --bus 3"
cd $HOME_PATH/hydrophonitor/depth-logger && python record-depth.py $OPTIONS