pyupm_rfr359f module

class pyupm_rfr359f.RFR359F(pin)[source]

Bases: object

API for the RFR359F-based Grove Distance Interrupter.

ID: rfr359f

Name: Infrared Distance Interrupter

Other Names: Grove Distance Interrupter

Category: light

Manufacturer: seeed

Link:https://www.seeedstudio.com/Grove-IR-Distance- Interrupter-p-1278.html

Connection: gpio

Kit: robok tsk UPM module for the Grove distance interrupter. The sensitivity can be adjusted with the potentiometer on the sensor module. It has a range of approximately 4 inches and a quick response time.

C++ includes: rfr359f.hpp

objectDetected()[source]

bool objectDetected()

Gets the status of the pin; true means an object has been detected

True if the sensor has detected an object