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.
- property IOA¶
The pin object for channel A.
- property IOB¶
The pin object for channel B.
- property 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.
- property direction¶
The direction of the pin, either INPUT or OUTPUT.
- property value¶
The pin state if configured as INPUT. The output latch state if configured as OUTPUT. True is HIGH/ON, False is LOW/OFF.