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.

MAX31855 Class

Module: max31855

Maxim Integrated* MAX31855 is a cold-junction compensated thermocouple-to-digital converter. This module was tested on the Maxim Integrated MAX31855PMB1 PMOD module from the analog PMOD kit.
max31855.jpg

Item Index

Methods

Methods

MAX31855

(
  • bus
  • cs
)
Number

Instantiates an MAX31855 object

Parameters:

  • bus Number

    SPI bus to use

  • cs Number

    Chip select pin

Returns:

Number:

getTemp

() Number

[Destructor]
Gets the distance from the sensor

Returns:

Number:

Value in Celsius