217 of 286
203 Reset1Wire Type Function returning Byte Invocation Reset1Wire(pin) Parameter Method Type Description pin ByVal Byte The pin to be used for 1-Wire I/O. Discussion This function generates a reset signal on the given pin using the 1-Wire protocol. The return value is the “presence” bit sent by the attached 1-Wire device(s), if any. It will be zero if a 1-Wire device responded, 1 otherwise. To perform a 1-Wire operation, this function along with related 1-Wire routines must be used in the proper sequence. See the specifications of your 1-Wire device for more information. Resource Usage This routine uses the I/O Timer and disables interrupts for approximately 1mS. Example Dim b as Byte b = Reset1Wire(12) Compatibility This routine is not available in BasicX compatibility mode. See Also Get1Wire, Get1WireByte, Get1WireData, Put1Wire, Put1WireByte, Put1WireData