pyb
stm
sensor
csi
image
ml
gif
mjpeg
audio
display
fir
tof
tv
cpufreq
imu
rpc
rtsp
omv
gt911
ft5x06
tfp410
pca9674a
8-bit I/O expander.
The PCA9674A class is used to initialize the I/O expander.
PCA9674A
Creates an interface to talk to the I/O expander on I2C bus number bus using IRQ pin irq_pin. The address to use can be set with address. callback is called on any pin state changing.
bus
irq_pin
address
callback
Writes the 8-bit value to the I/O expander pins.
value
Returns an 8-bit value representing the pins of the I/O expander.
Resets and initializes the I/O expander.