Here you will find the code to start up with the SW18010P shock sensor. Have Fun !
Here you will find the code and explanations to start up with the Hall sensor.