owTempGetID (Function) |
Top Previous Next |
owTempGetID returns the ID of a specific 1-Wire temperature sensor. After the owSearch function has been carried out, the ID of each device on the bus can be read. Place the number (between 1 and the number returned by the owSearch function) specifying which temperature sensor is to be read.
Please consult the Logic IO 1-Wire basics application note for information on 1-Wire devices.
Input: Device : SINT
Returns: STRING The ID of the temperature sensor.
Declaration: FUNCTION owTempGetID : STRING;
Example: INCLUDE rtcu.inc |