Code

Here is a the GitHub link, where the code used for data collection can be found.

adxl3xx.ino

ADXL3xyx.ino