SparkFun_LIS3DH_Arduino_Library
SparkFun_LIS3DH_Arduino_Library copied to clipboard
LIS3DH Arduino Libs
I'm looking for a shock detection example with the LIS3DH, to detect the catch of a ball for instance.
I'm not sure if this is useful or not, but the code change made it easier for me to write code, as the bitwise registers are now a little bit...
The source code of the library says: uint8_t fifoMode; //can be 0x0,0x1,0x2,0x3 The FifoExample.ino says: //fifoMode can be: // 0 (Bypass mode, FIFO off) // 1 (FIFO mode) // 3...
These possible improvements came up on the SF forums: https://forum.sparkfun.com/viewtopic.php?f=83&t=52403&p=213211#p213211 The forum posts also include info on how to change to low power mode - Add a call to change...
Just a note that the FIFO buffer is only 32 samples deep. So functions likes fifoThreshold() can only accept 0 though 31 not 32 as states in the code notes.