Update update add lib

pi-sensors
Alan Johnston 3 months ago committed by GitHub
parent a65fa98871
commit 479e334844
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -295,7 +295,7 @@ if [[ $(grep 'changed' /home/pi/MPU6050-C-CPP-Library-for-Raspberry-Pi/.updated_
echo "updating MPU6050-C-CPP-Library-for-Raspberry-Pi" echo "updating MPU6050-C-CPP-Library-for-Raspberry-Pi"
sudo make install sudo make install
make example make example
g++ mpu6050.cpp -o mpu6050 -lMPU6050 -pthread g++ mpu6050.cpp -o mpu6050 -lMPU6050 -pthread -li2c
else else
echo "nothing to do for MPU6050-C-CPP-Library-for-Raspberry-Pi." echo "nothing to do for MPU6050-C-CPP-Library-for-Raspberry-Pi."

Loading…
Cancel
Save

Powered by TurnKey Linux.