removed digitalio, changed output after running blinka test file and changed final command.

This commit is contained in:
K 2024-10-07 01:54:26 +05:30
parent 602f274a9a
commit ed83b054cb
Signed by: notkshitij
GPG Key ID: C5B8BC7530F8F43F

View File

@ -80,7 +80,7 @@ echo -e "$line\nActivating virtual environment...\n$line\n"
source $PROJECT_DIR/bin/activate
echo -e "$line\nInstalling dependencies...\n$line\n"
pip3 install --upgrade setuptools click adafruit-python-shell adafruit-circuitpython-dht RPi.GPIO adafruit-blinka board digitalio
pip3 install --upgrade setuptools click adafruit-python-shell adafruit-circuitpython-dht RPi.GPIO adafruit-blinka board
echo -e "$line\nSetting up raspiberry pi...\n$line\n"
sudo raspi-config nonint do_i2c 0
@ -92,8 +92,8 @@ sudo raspi-config nonint disable_raspi_config_at_boot 0
sudo apt install -y i2c-tools libgpiod-dev python3-libgpiod
python3 blinka-test.py
echo -e "$line\nSetup complete\n$line\n"
echo -e "$line\nBlinka works!\n$line\n"
echo -e "\n\n\n$line$line$line\nSetup completed.\nExecute the command 'python3 temp-calc.py' to calculate\nthe temperature.\n# DESIGNED AND ENGINEERED BY KSHITIJ.\n# END OF SCRIPT\n$line$line$line\n\n\n"
echo -e "\n\n\n$line$line$line\nSetup completed.\nExecute the command 'python3 /home/$(whoami)/Desktop/temp-sensor/temp-calc.py' to calculate\nthe temperature.\n# DESIGNED AND ENGINEERED BY KSHITIJ.\n# END OF SCRIPT\n$line$line$line\n\n\n"
exit 1