ozzmaker.com
Converting values from an Accelerometer to G
In this post I will show how to convert the raw values read from an accelerometer to ‘Gs’. Git repository here The code can be pulled down to your Raspberry Pi with; pi@raspberrypi ~ $ …