Arduino_code to trigger a camera or a flash when a tilt sensor is activated.