This shows you the differences between two versions of the page.
uphp:functions:ow_write [2017/05/11 10:07] admin created |
uphp:functions:ow_write [2021/09/13 05:57] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ======ow_write====== | ||
- | |||
- | < | ||
- | |||
- | Write a byte to the Onewire bus. This is a low level function allowing custom onewire operations. | ||
- | |||
- | ====Description==== | ||
- | |||
- | <well size=" | ||
- | <span style=" | ||
- | <span style=" | ||
- | <span style=" | ||
- | <span style=" | ||
- | </ | ||
- | |||
- | ====Parameter==== | ||
- | |||
- | An < | ||
- | |||
- | ====Return Values==== | ||
- | |||
- | none | ||
- | |||
- | ====Example==== | ||
- | |||
- | <code php> | ||
- | < | ||
- | |||
- | 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 | ||