From ed83b054cb984700bbb482d87b6d94d186af5f32 Mon Sep 17 00:00:00 2001 From: Kshitij Date: Mon, 7 Oct 2024 01:54:26 +0530 Subject: [PATCH] removed digitalio, changed output after running blinka test file and changed final command. --- setup.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.sh b/setup.sh index 21bac2d..8418934 100755 --- a/setup.sh +++ b/setup.sh @@ -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