Led on Led send

Why don't you start simple, then, and learn to program.

You have not yet explained what this shifting and averaging stuff is about. Either the sensor senses vibration, or it does not.

Delete all that stuff, and just Serial.print() a prefix and the value read from the sensor. Does that number make any sense? Until you KNOW what the sensor is reporting, you can't begin to make use of the value.