Hello everyone. I am doing an experiment in which I am using T3.6 with LIS2DH12 accelerometer that has a digital output. To read data I am using this Library https://github.com/sparkfun/SparkFun...rduino_Library
I have a vibrator that gives an exact sine wave of frequency f (f is selectable using a function generator). My question is that I am not getting the exact sine wane at the output of the accelerometer (that I am entering to the vibrator) that I can watch on the serial plotter. Here is the big picture of the experiment setup.

Click image for larger version. 

Name:	IMG_20210607_105125.jpg 
Views:	35 
Size:	292.1 KB 
ID:	24998

What is wrong with this setup? Is the accelerometer broken? or there is something else that I need to check?