RaspberryPi C++ API for Invensense MPU9250 Intertial Measurement Unit. Requires WiringPi. Adapted from Bolderflight's Teensy implementation, q.v. for details.
Quickstart:
% sudo make install
builds and installs the library libmpu9250.so in /usr/lib and the header libmpu9250.h in /usr/local/include.
% cd examples/Basic_I2C % make % ./Basic_I2C
Runs the basic I^2C example. Same procedure for the basic SPI example.