adafruit_adg72x
¶
CircuitPython driver for the ADG728 and ADG729 analog matrix switches.
Author(s): Liz Clark
Implementation Notes¶
Hardware:
Software and Dependencies:
Adafruit CircuitPython firmware for the supported boards: https://circuitpython.org/downloads
Adafruit’s Bus Device library: https://github.com/adafruit/Adafruit_CircuitPython_BusDevice
- class adafruit_adg72x.ADG72x(i2c: Type[I2C], i2c_address: int = ADG728_DEFAULT_ADDR)¶
A driver for the ADG728/ADG729 analog multiplexers.
Initializes the ADG72x.
- Parameters:
i2c (Type[I2C]) – The I2C bus connected to the device.
i2c_address (int) – The I2C address of the device. Defaults to 0x4C (ADG728).
- property channel¶
Gets the list of currently set channels. Returns an empty list if no channels are active.
- property channels¶
Gets the list of currently set channels. Returns an empty list if no channels are active.
- channels_off()¶
Turns all channels off.