adafruit_ds2413
¶
CircuitPython driver for the DS2413 one wire 2 channel GPIO breakout.
- Author(s): Carter Nelson
-
class
adafruit_ds2413.
DS2413
(bus, address)[source]¶ Class which provides interface to DS2413 GPIO breakout.
-
IOA
¶ The pin object for channel A.
-
IOB
¶ The pin object for channel B.
-
pio_state
¶ The state of both PIO channels.
-
-
class
adafruit_ds2413.
DS2413Pin
(number, host, direction=1)[source]¶ Class which provides interface to single DS2413 GPIO pin.
-
direction
¶ The direction of the pin, either INPUT or OUTPUT.
-
value
¶ The pin state if configured as INPUT. The output latch state if configured as OUTPUT. True is HIGH/ON, False is LOW/OFF.
-