We have a python script and library (based on [url removed, login to view]) that sends accelerometer data for processingAzure, but we need to do some changes;
1. Use the FIFO at 50hz or similar to store data XYZ
2. Use accelerometers offset feature to store zero-g value and subtract from readings
3. Pull data every 3 seconds from FIFO using interrupt and write to a JSON (meanwhile FIFO should resume filling so that no data is lost)
4. Confirm that the accelerometer is set at 2g and low pass filter is on.