hydrophonitor/scripts/setup-pressure-depth.sh

11 lines
267 B
Bash
Raw Normal View History

2022-10-11 06:17:13 +00:00
#!/bin/sh
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
sudo pip3 install Adafruit-Blinka adafruit-circuitpython-ads1x15