zorg/zorg-gpio

View on GitHub
docs/digital_sensor.md

Summary

Maintainability
Test Coverage
# Digital Sensor

This is a generic sensor type that provides the ability
to read the value from digital sensors.

Digital sensors include components such as:
- [PIR Sensors](https://www.adafruit.com/products/189)
- Buttons ([See button driver](button.md))

## `read`

Returns the raw value from the sensor.