This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software:
The address has seven bits and is 1110100. The first byte of an I²C transaction contains both the address and the R/W bit, so it must be 0xE9 or 0xE8. (I do not know how that library handles the address.)
You should write the output port register before the configuration register so that the pin does not output the old value for a short time.
When an interrupt happens, you should read both input port registers.
Correct. (Each register write affect eight pins; I assume that the other seven bits are correct.)
The interrupt output gets deactivated when all changed bits have been read.
If the MCU does not have an available GPIO for the interrupt signal, then you can use polling instead.
The interrupt output gets deactivated when all changed bits have been read.
When this happens, will the INT pin change from low (L) to high (H)? What I mean is that if I use the polling method, I only need to read the register data when the INT is low (L).
Yes; the inactive interrupt signal is high.
When /INT is high, you know that none of the input pins have changed.