7 #define PCT2075_CONF 0x01 8 #define PCT2075_TEMP 0x00 9 #define PCT2075_TOS 0x03 10 #define PCT2075_THYST 0x02 11 #define PCT2075_TIDLE 0x04 14 #define PCT2075_READ_LEN 1 22 #include "printable.h" 24 #include "../Constants/Constants.h" 26 #define RETURN_ERROR 1 34 void init(uint8_t slaveAddr);
Class that handles the communication to the temperature sensor PCT2075.
void goToSleep()
This method sets the Temperature Sensor in shutdown mode.
void init(uint8_t slaveAddr)
This method initializes the temperature sensor PCT2075.
uint8_t getTemp(int8_t &Temp)
This method gets the temperatur value of the temperature sensor PCT2075.