adafruit / Adafruit_LIS3DH

Arduino Library for Adafruit LIS3DH breakout board
Other
72 stars 57 forks source link

Data rate not be able to change #37

Open shuhao-dong opened 3 years ago

shuhao-dong commented 3 years ago

Thank you for sharing this library. When I set the data rate to be 50Hz, there is no difference compared to the default. No matter how I change the rate, the data is recorded eve 微信截图_20210104171512 ry 0.2 second (see below). Does this related to the mode of this accelerometer?

tyeth commented 3 months ago

You should be able to read it more quickly than that.

Is it connected over I2C or SPI, and which board + pins are you using? Please also share the code you are uploading to the board.