User Tools

Site Tools


uphp:functions:ow_write

This is an old revision of the document!


ow_write

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

Write a byte to the Onewire bus. This is a low level function allowing custom onewire operations.

Description

ow_write ( $val )

Parameter

An int value containing the byte to send to the onewire bus

Return Values

none

Example

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

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_read() - Read a byte from the onewire bus

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