GPS

Driver
git clone https://github.com/bithollow/BH
cd BH/driver
Demo

Move to folder BH/demo/gps, compile and run the example

cd BH/demo/gps
make
./gps -h

Hhe usage will show, you can refer to it,.
You should immediately see 9 values, updated in real time.
Try to move the device around and see them change.
They include Accelerometer, Gyroscope and Magnetometer data, three axis each.
The main function loop is pretty straightforward: read the data, print the data.