2022-10-11 06:17:13 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2022-10-22 11:40:41 +00:00
|
|
|
set -ex
|
|
|
|
|
2022-10-11 06:17:13 +00:00
|
|
|
echo "Setting up depth recording"
|
|
|
|
|
|
|
|
# Enable i2c bus on Raspberry Pi
|
|
|
|
sudo raspi-config nonint do_i2c 0
|
|
|
|
|
|
|
|
# Install packages
|
|
|
|
sudo apt-get update && sudo apt-get install -y i2c-tools python3-pip
|
2022-10-11 19:06:50 +00:00
|
|
|
|
|
|
|
sudo pip install -r /home/pi/hydrophonitor/depth-logger/requirements.txt
|