pca9557 – I2C I/O expander device driver

Driver for PCA9557 I2C I/O Expander

class CB3.pca9557.PCA9557(i2c, address)[source]

I2C I/O Expander Driver

output(val)[source]

Cached write to output port

read(reg)[source]

Read 8-bit register

setbits(mask, do_set)[source]

Bitmask write to ouput port

write(reg, val)[source]

Write 8-bit register