upm  0.1.8
Sensor/Actuator repository for libmraa (v0.4.5)
 All Data Structures Files Functions Variables Macros Pages
Public Member Functions
MLX90614 Class Reference

C++ API for MLX90614. More...

Detailed Description

This file defines the MLX90614 C++ interface for libmlx90614

Public Member Functions

 MLX90614 (int bus, int devAddr)
 
 ~MLX90614 ()
 
float readObjectTempF (void)
 
float readAmbientTempF (void)
 
float readObjectTempC (void)
 
float readAmbientTempC (void)
 
std::string name ()
 

Constructor & Destructor Documentation

MLX90614 ( int  bus,
int  devAddr 
)

Instanciates a MLX90614 object

Parameters
busnumber of used bus
devAddraddres of used i2c device
~MLX90614 ( )

MLX90614 object destructor, basicaly it close i2c connection.

Member Function Documentation

float readObjectTempF ( void  )

Read object temperature in Fahrenheit

float readAmbientTempF ( void  )

Read ambient temperature in Fahrenheit

float readObjectTempC ( void  )

Read object temperature in Celsius

float readAmbientTempC ( void  )

Read ambient temperature in Celsius

std::string name ( )
inline

Return name of the component


The documentation for this class was generated from the following files: