TiltSensor

Sensors

TiltSensor provides a class to control a passive tilt-switch sensor.
These sensors contain a passive switch that changes state when the sensor tilts. There are two wires coming out that connect to the switch. The switch could be normally open or normally closed. Either way it changes state when the sensor is tilted. In most cases these will "bounce" when they change state - they'll change state multiple times in a few milliseconds - so be ware!

Author: Dean Gienger

Maintainer: Dean Gienger

Read the documentation

Compatibility

This library is compatible with all architectures so you should be able to use it on all the Arduino boards.

Releases

To use this library, open the Library Manager in the Arduino IDE and install it from there.