UPM

The UPM API is a high level sensor library for IoT devices using MRAA. See examples here. Back to index page.
SparkFun sensor images provided under CC BY-NC-SA-3.0.

RFR359F Class

Module: rfr359f

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.
rfr359f.jpg

Item Index

Methods

RFR359F

(
  • pin
)
Number

RFR359F constructor

Parameters:

  • pin Number

    Digital pin to use

Returns:

Number:

objectDetected

() Boolean

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

Returns:

Boolean:

True if the sensor has detected an object