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.

LDT0028 Class

Module: ldt0028

This module defines the LDT0-028 interface for libupm-ldt0028
ldt0028.jpg

Item Index

Methods

LDT0028

(
  • pin
)
Number

LDT0028 constructor

Parameters:

  • pin Number

    AIO pin where the sensor is connected

Returns:

Number:

name

() String

Returns the name of this sensor

Returns:

String:

Name of this sensor

getSample

() Number

Returns one sample from this sensor

Returns:

Number:

One value from this sensor