satnogs-rotator-firmware
Loading...
Searching...
No Matches
tc74.h File Reference
#include <Arduino.h>
#include <Wire.h>
Include dependency graph for tc74.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  tc74
 Class that functions for interacting with a TC74 Temperature sensor. More...
 

Macros

#define TC74_TEMPERATURE_REGISTER   0x00
 
#define TC74_CONFIGURATION_REGISTER   0x01
 
#define TC74_STANDBY_COMMAND   0x80
 
#define TC74_AWAKE_COMMAND   0x00
 
#define TC74_DATA_READY_FLAG   0x40
 

Detailed Description

It is a driver for a TC74 Temperature sensor.

Licensed under the GPLv3

Definition in file tc74.h.

Macro Definition Documentation

◆ TC74_AWAKE_COMMAND

#define TC74_AWAKE_COMMAND   0x00

Definition at line 19 of file tc74.h.

Referenced by tc74::get_status(), and tc74::wake_up().

◆ TC74_CONFIGURATION_REGISTER

#define TC74_CONFIGURATION_REGISTER   0x01

Definition at line 17 of file tc74.h.

Referenced by tc74::get_status(), tc74::sleep(), and tc74::wake_up().

◆ TC74_DATA_READY_FLAG

#define TC74_DATA_READY_FLAG   0x40

Definition at line 20 of file tc74.h.

◆ TC74_STANDBY_COMMAND

#define TC74_STANDBY_COMMAND   0x80

Definition at line 18 of file tc74.h.

Referenced by tc74::sleep().

◆ TC74_TEMPERATURE_REGISTER

#define TC74_TEMPERATURE_REGISTER   0x00

Definition at line 16 of file tc74.h.

Referenced by tc74::get_temp().