|
upm
0.4.0
Sensor/Actuator repository for libmraa (v0.8.0)
|
API for the MAX31855 Thermocouple Amplifier. More...
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.
Public Member Functions | |
| MAX31855 (int bus, int cs) | |
| [Constructor] More... | |
| ~MAX31855 () | |
| [Constructor] More... | |
| double | getTemp () |
| [Interesting] More... | |
| MAX31855 | ( | int | bus, |
| int | cs | ||
| ) |
Instantiates an MAX31855 object
| bus | SPI bus to use |
| cs | Chip select pin |
| double getTemp | ( | ) |
[Destructor]
Gets the distance from the sensor
[spi]
[spi]
[conversion]
[conversion]
1.8.9.1