removed digitalio, changed output after running blinka test file and changed final command.
This commit is contained in:
parent
6c3aef527c
commit
a11eaf5c29
6
setup.sh
6
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
|
||||
|
Loading…
Reference in New Issue
Block a user