I am working on a project to use multiple accelerometers to record some data. I chose MMA8452Q as my accelerometers and I am trying to change the sampling rate. I could change the sampling rate if I only read data from one accelerometer. However, I tried to read data from multiple sensors at the same time, it seems that the sampling rate is limited to around 140 Hz while the preset sampling rate is 800 Hz.
My code is below. I appreciate if anyone could help me with it.
Example9_TwoSensors.ino (3.57 KB)