![]() |
Rock Monitoring
V 1.0
|
Class that handles the communication to the temperature sensor PCT2075. More...
#include <PCT2075.h>

Public Member Functions | |
| PCT2075 () | |
| void | init (uint8_t slaveAddr) |
| This method initializes the temperature sensor PCT2075. More... | |
| uint8_t | getTemp (int8_t &Temp) |
| This method gets the temperatur value of the temperature sensor PCT2075. More... | |
| void | goToSleep () |
| This method sets the Temperature Sensor in shutdown mode. More... | |
Private Attributes | |
| uint8_t | i2cSlaveAddr |
Class that handles the communication to the temperature sensor PCT2075.
| PCT2075::PCT2075 | ( | ) |
Definition at line 5 of file PCT2075.cpp.
| uint8_t PCT2075::getTemp | ( | int8_t & | Temp | ) |
This method gets the temperatur value of the temperature sensor PCT2075.
| int18_t | & Temp, reference to data of temperature sensor |
Definition at line 55 of file PCT2075.cpp.
| void PCT2075::goToSleep | ( | ) |
This method sets the Temperature Sensor in shutdown mode.
Definition at line 76 of file PCT2075.cpp.
| void PCT2075::init | ( | uint8_t | slaveAddr | ) |
This method initializes the temperature sensor PCT2075.
| int | slaveAddr, value from 0 to 3, sets the i2c slave address |
Definition at line 12 of file PCT2075.cpp.