1wire.reset

Name

 * 1wire.reset

Description
Performs a reset on the one-wire bus and returns the presence detect.

Return 1 if no presence detect was found,

return 0 otherwise.
 * Since Beta 9.5

Syntax
u8 1wire.reset(u8 DQpin)
 * Parameters:
 * DQpin = pin one-wire data (DQ) line (=one-wire bus) connected to
 * Returns/Output;
 * 1 if no presence detect was found, 0 if presence detect was found. If there is a one-wire device on the one-wire bus it pulls the DQ line low (0).  If there is no one-wire device on the one-wire then the pull-up resistor ensures that the one-wire bus remains high (1).