Update installer.sh
This commit is contained in:
parent
021b63deb2
commit
e2d171efe1
1 changed files with 15 additions and 1 deletions
16
installer.sh
16
installer.sh
|
|
@ -31,9 +31,10 @@ tar xfv avrdude-7.0.tar.gz && cd avrdude-7.0/
|
||||||
make
|
make
|
||||||
sudo make install
|
sudo make install
|
||||||
|
|
||||||
|
# Clonen van de repository
|
||||||
echo -e "${green}Clonen van GrovePi repository...${reset}"
|
echo -e "${green}Clonen van GrovePi repository...${reset}"
|
||||||
sudo rm -rf /opt/grovepi
|
sudo rm -rf /opt/grovepi
|
||||||
sudo git clone https://git.pixelhosting.nl/Blackwhitebear8/grovepi.git /opt/grovepi
|
sudo git clone https://github.com/DexterInd/GrovePi /opt/grovepi
|
||||||
cd /opt/grovepi
|
cd /opt/grovepi
|
||||||
|
|
||||||
# Installeren van Python-pakketten
|
# Installeren van Python-pakketten
|
||||||
|
|
@ -46,6 +47,19 @@ echo -e "${green}GrovePi installeren...${reset}"
|
||||||
cd /opt/grovepi/Script
|
cd /opt/grovepi/Script
|
||||||
sudo bash install.sh
|
sudo bash install.sh
|
||||||
|
|
||||||
|
# Installeren van i2c-tools
|
||||||
|
cd /opt/grovepi/Scripts/i2c-tools-3.1.0
|
||||||
|
make
|
||||||
|
sudo make install
|
||||||
|
|
||||||
|
# Installeren van i2c-tools python
|
||||||
|
cd /opt/grovepi/Scripts/i2c-tools-3.1.0/py-smbus
|
||||||
|
sudo python3 setup.py build
|
||||||
|
sudo python3 setup.py install
|
||||||
|
|
||||||
|
# Installeren van wiringpi
|
||||||
|
pip3 install wiringpi --break-system-packages
|
||||||
|
|
||||||
# Controle uitvoeren
|
# Controle uitvoeren
|
||||||
echo -e "${green}GrovePi test uitvoeren...${reset}"
|
echo -e "${green}GrovePi test uitvoeren...${reset}"
|
||||||
cd /opt/grovepi/Software/Python
|
cd /opt/grovepi/Software/Python
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue