Fuelled by insatiable curiosity
I've added an example project in my embedded how-tos page. This example might be of interest to people who are planning on using the MPU-6050 inertial sensor from Invensense. The example uses the DMP, or digital motion processor, which fuses the raw accelerometer and gyro readings into stable attitude estimates on the device itself. For the DMP initialisation, I had a look at Jeff Rowberg's driver. His driver was developed in C++, which is partly my motivation to make my own driver (in C) to run on the many embedded platforms I use. The example project uses an Arduino Uno and plain old C. Check it out!