upm
1.7.1
Sensor/Actuator repository for libmraa (v2.0.0)
|
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 bus, int csn) | |
short | getTemperature () |
std::string | name () |
MAX31723 | ( | int | bus, |
int | csn | ||
) |
Instantiates an MAX31723 object
bus | Number of the SPI bus used |
csn | Chip select (slave select) pin to use |
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