demo.mp4
This accelerometer is a 3-axis accelerometer and can be wired via I2C or SPI, this example uses I2C.
There was some extra functions provided by the hardware like single tap, double tap, activity, inactivity, free fall detection etc. which were not implemented in this example.
To run the example, use the following command:
cargo run -p accelerometer