Class: GPIO::MotionDetector
- Defined in:
- lib/gpio/sensors/motion_detector.rb
Instance Attribute Summary
Attributes inherited from Sensor
Instance Method Summary collapse
Methods inherited from Sensor
#changed?, #initialize, #last_reading, #read, #reading
Constructor Details
This class inherits a constructor from GPIO::Sensor
Instance Method Details
#detect ⇒ Object
3 4 5 |
# File 'lib/gpio/sensors/motion_detector.rb', line 3 def detect read end |