http://mbed.org/users/JimCarver/code/FXAS21000/#a8f83b52f4df