Rock Monitoring  V 1.0
PCT2075.h File Reference
#include "WaspUSB.h"
#include <util/twi.h>
#include <stdlib.h>
#include <string.h>
#include <inttypes.h>
#include "Wire.h"
#include "printable.h"
#include "Waspmote.h"
#include "../Constants/Constants.h"
Include dependency graph for PCT2075.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  PCT2075
 Class that handles the communication to the temperature sensor PCT2075. More...
 

Macros

#define PCT2075_CONF   0x01
 
#define PCT2075_TEMP   0x00
 
#define PCT2075_TOS   0x03
 
#define PCT2075_THYST   0x02
 
#define PCT2075_TIDLE   0x04
 
#define PCT2075_READ_LEN   1
 
#define RETURN_ERROR   1
 
#define RETURN_OK   0
 

Macro Definition Documentation

#define PCT2075_CONF   0x01

Definition at line 7 of file PCT2075.h.

#define PCT2075_READ_LEN   1

Definition at line 14 of file PCT2075.h.

#define PCT2075_TEMP   0x00

Definition at line 8 of file PCT2075.h.

#define PCT2075_THYST   0x02

Definition at line 10 of file PCT2075.h.

#define PCT2075_TIDLE   0x04

Definition at line 11 of file PCT2075.h.

#define PCT2075_TOS   0x03

Definition at line 9 of file PCT2075.h.

#define RETURN_ERROR   1

Definition at line 26 of file PCT2075.h.

#define RETURN_OK   0

Definition at line 27 of file PCT2075.h.