ds1621ReadTemperature Function

Read temperature

Syntax

ERRCODE ds1621ReadTemperature( UBYTE deviceNumber, UINT* rcvByte );

Parameters

UBYTE deviceNumber - device address
USHORT* pTemperature - pointer to variable to store temperature value

Return Value

ERRCODE - SUCCESS if operation successful
non-zero error code otherwise

Remarks

N/A

Requirements

ds1621.h

Example

N/A