AvrIO  1.4.5
Bibliothèque C modulaire pour ATMEL AVR
Circuit DS1820

Description détaillée

Graphe de collaboration de Circuit DS1820:

Fonctions

int iDs1820Read (xOwDevice *device)
 Read the temperature from a DS1820 temperature sensor. Plus de détails...
 

Macros

#define DS1820_ERROR   -1000
 Return code. Outside temperature range.
 
#define DS1820_FAMILY_ID   0x10
 

Documentation des fonctions

int iDs1820Read ( xOwDevice device)

Read the temperature from a DS1820 temperature sensor.

This function will start a conversion and read back the temperature from a DS1820 temperature sensor.

Paramètres
idThe 64 bit identifier of the DS1820.
Renvoie
The 16 bit signed temperature read from the DS1820.