upm
0.5.1
Sensor/Actuator repository for libmraa (v0.9.1)
|
API for the MAX31723 Temperature Sensor. More...
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.
Public Member Functions | |
MAX31723 (int csn) | |
short | getTemperature () |
std::string | name () |
MAX31723 | ( | int | csn | ) |
Instantiates an MAX31723 object
bus | Number of the used bus |
devAddr | Address of the used I2C device |
short getTemperature | ( | void | ) |
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.
|
inline |
Returns the name of the component