This script shows how to enable and read sensor values from the Accelerometer, Magnetometer and Gyroscope on your PixieBoard.
You can find more information in this tutorial and to read more about PixieBoard, follow us on Medium.
Before you run the script make sure you have installed i2c-tools package. Also make the script executable with chmod.
$ sudo pacman -S i2c-tools
$ sudo chmod u+x pixieboard_9_axis.shExecute with:
$ sudo ./pixieboard_9_axis.sh