Table of Contents

ow_write

WMPRO >= 1.0 WMMEGA FW >= 2.0

Write a byte to the OneWire bus

Description

ow_write ( int $value )

This function will write a single byte to the OneWire bus. This is a low level function allowing custom OneWire operations.

Parameter

$value: An integer value of the byte to send to the OneWire bus

Return Values

None

Example

<?
  ow_write(10);
  ow_write(11);
  ow_write(0x55);
?>

See Also

ow_first() - Initiate a OneWire bus scan and return the address of the first device found

ow_next() - Return the address of the next OneWire device found (after an ow_first)

ow_read_temp() - Read a temperature from a device on the OneWire bus

ow_reset() - Reset the OneWire bus

ow_read() - Read a byte from the OneWire bus