I want to know how to operate an MCP23017 I'd have a looked at datasheet and source code
https://ww1.microchip.com/downloads/en/devicedoc/20001952c.pdf
device opcode which seems to be being used meaning the slave address.
slave address is shown 0 1 0 0 A2 * A1 * A0 * R/W in datasheet
source code **broken link removed**
I am not familear with c++ and given hardware, I do not understand Why 0x2o is the address of Slave, can somebody tell me reason ?
https://ww1.microchip.com/downloads/en/devicedoc/20001952c.pdf
device opcode which seems to be being used meaning the slave address.
slave address is shown 0 1 0 0 A2 * A1 * A0 * R/W in datasheet
source code **broken link removed**
I am not familear with c++ and given hardware, I do not understand Why 0x2o is the address of Slave, can somebody tell me reason ?