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.

MAX31723 Class

Module: max31723

Maxim Integrated* MAX31723 is a low-voltage 3-wire/SPI temperature sensor controller. This module was tested on the Maxim Integrated MAX31732PMB1 PMOD module from the analog PMOD kit.

Item Index

Methods

MAX31723

(
  • bus
  • csn
)
Number

Instantiates an MAX31723 object

Parameters:

  • bus Number

    Number of the SPI bus used

  • csn Number

    Chip select (slave select) pin to use

Returns:

Number:

getTemperature

() Number

MAXDS3231M object destructor; basically, it closes the I2C connection. it is not needed anymore, as the connections will be closed when m_spi and m_csnPinCtx variables will go out of scope ~MAX31723 (); Gets the on-board temperature.

Returns:

Number:

name

() String

Returns the name of the component

Returns:

String: