Update installer.sh

This commit is contained in:
Blackwhitebear8 2025-03-28 10:58:57 +01:00
parent 088418f220
commit 6af5049242

View file

@ -47,16 +47,6 @@ echo -e "${green}GrovePi installeren...${reset}"
cd /opt/grovepi/Script
sudo bash install.sh
# Installeren i2c-tools
echo -e "${green}i2c-tools installeren...${reset}"
cd /opt
sudo git clone https://github.com/DexterInd/RFR_Tools.git
cd RFR_Tools/miscellaneous
sudo apt install python3-periphery
sudo pip3 install smbus-cffi --break-system-packages
sudo python3 setup.py build
sudo python3 setup.py install
# Installeren en aanpassen van WiringPi
echo -e "${green}WiringPi installeren...${reset}"
sudo apt remove wiringpi* -y
@ -125,6 +115,16 @@ sudo cp -r /opt/WiringPi /opt/WiringPi-Python/
sudo python3 setup.py build
sudo python3 setup.py install
# Installeren i2c-tools
echo -e "${green}i2c-tools installeren...${reset}"
cd /opt
sudo git clone https://github.com/DexterInd/RFR_Tools.git
cd RFR_Tools/miscellaneous
sudo apt install python3-periphery
sudo pip3 install smbus-cffi --break-system-packages
sudo python3 setup.py build
sudo python3 setup.py install
# Interfaces aanzetten op de raspberry pi
echo -e "${green}i2c en spi aanzetten...${reset}"
sudo raspi-config nonint do_i2c 0