Archived
1
0
This repository has been archived on 2025-04-27. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
dht22/setup.sh
2021-10-30 14:47:10 -04:00

9 lines
273 B
Bash

# Install base OS (Debian) packages.
apt update && apt upgrade -y && apt install python3-dev python3-pip python3-psycopg2 libgpiod2 -y
# Install Python modules.
pip3 install RPi.GPIO psycopg2 adafruit-circuitpython-dht
# Start the python script.
/usr/bin/python3 main.py