Johnson Lan

PCA9698 sample code

Discussion created by Johnson Lan on Aug 29, 2018
Hello, All:
Could you please send me a sample code to output a high level from Bank0 I/O0?
My PCA9698 salve address is 0x40(8bit).
I already write PCA9698 successfully,I2C respond is ACK.
for example,
0x20,0x08,0x01;  //set Bank0 as output:
But which register is used for sending command to pull high or pull down I/O?
Could you please send me a sample code?

Outcomes