Commit cc975a94 authored by Arnim Läuger's avatar Arnim Läuger
Browse files

move ow.reset

parent 66eb0dfd
......@@ -84,6 +84,19 @@ Read multi bytes.
#### Returns
`string` bytes read from slave device
## ow.reset()
Perform a 1-Wire reset cycle.
#### Syntax
`ow.reset(pin)`
#### Parameters
`pin` 1~12, IO index
#### Returns
- `1` if a device responds with a presence pulse.
- `0` if there is no device or the bus is shorted or otherwise held low for more than 250 µS.
## ow.reset_search()
Clear the search state so that it will start from the beginning again.
......@@ -193,19 +206,6 @@ Set a pin in onewire mode.
#### Returns
`nil`
## ow.reset()
Perform a 1-Wire reset cycle.
#### Syntax
`ow.reset(pin)`
#### Parameters
`pin` 1~12, IO index
#### Returns
- `1` if a device responds with a presence pulse.
- `0` if there is no device or the bus is shorted or otherwise held low for more than 250 µS.
## ow.skip()
Issue a 1-Wire rom skip command, to address all on bus.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment