User Tools

Site Tools


uphp:functions:ow_read

This is an old revision of the document!


ow_read

WMPRO, WMMINI FW >= 1.0 WMMEGA FW >= 2.0

Read a byte from the Onewire bus

Description

int ow_read ( )

Parameter

none

Return Values

An int value containing the byte from the bus or 0 if nothing was read.

Example

<pre><?
 
  $res=ow_read();
  print("Got ".$res." from onewire bus.");
 
?>

See Also

ow_first() - Get the first device on the bus

ow_next() - Get next device on bus

ow_read_temp() - Read a temperature from a device

ow_reset() - Reset the onewire bus

ow_write() - Write to onewire bus

uphp/functions/ow_read.1494497085.txt.gz · Last modified: 2021/09/13 05:56 (external edit)