upm
0.5.1
Sensor/Actuator repository for libmraa (v0.9.1)
|
API for the MLX90614 Temperature Sensor. More...
This module defines the MLX90614 interface for libmlx90614
Public Member Functions | |
MLX90614 (int bus=0, int devAddr=0x5A) | |
float | readObjectTempF (void) |
float | readAmbientTempF (void) |
float | readObjectTempC (void) |
float | readAmbientTempC (void) |
std::string | name () |
MLX90614 | ( | int | bus = 0 , |
int | devAddr = 0x5A |
||
) |
Instantiates an MLX90614 object
bus | Number of the used bus |
devAddr | Address of the used I2C device |
float readObjectTempF | ( | void | ) |
Reads the object temperature in Fahrenheit
float readAmbientTempF | ( | void | ) |
Reads the ambient temperature in Fahrenheit
float readObjectTempC | ( | void | ) |
Reads the object temperature in Celsius
float readAmbientTempC | ( | void | ) |
Reads the ambient temperature in Celsius
|
inline |
Returns the name of the component