WMPRO >= 1.0 WMMEGA FW >= 2.0
Read a byte from the OneWire bus
This function will read a single byte from the OneWire bus. This is a low level function allowing custom OneWire operations.
None
An integer value of the byte from the bus, or 0 if nothing was available
<? $res=ow_read(); print("Got ".$res." from the OneWire bus."); ?>
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_write() - Write a byte to the OneWire bus