Changed the sample rate of mems