1 # SPDX-FileCopyrightText: 2021 Melissa LeBlanc-Williams for Adafruit Industries
 
   3 # SPDX-License-Identifier: MIT
 
   5 `onewireio` - 1-wire bus protocol
 
   6 =================================================
 
   8 See `CircuitPython:onewireio` in CircuitPython for more details.
 
  13 # pylint: disable=import-outside-toplevel,too-many-branches,too-many-statements
 
  14 # pylint: disable=too-many-arguments,too-many-function-args,too-many-return-statements
 
  19     Stub class for OneWire, which is currently not implemented
 
  22     def __init__(self, pin):
 
  23         raise NotImplementedError("OneWire has not been implemented")
 
  27         Deinitialize the OneWire bus and release any hardware resources for reuse.
 
  29         raise NotImplementedError("OneWire has not been implemented")
 
  33         Reset the OneWire bus and read presence
 
  35         raise NotImplementedError("OneWire has not been implemented")
 
  41         raise NotImplementedError("OneWire has not been implemented")
 
  43     def write_bit(self, value):
 
  45         Write out a bit based on value.
 
  47         raise NotImplementedError("OneWire has not been implemented")