Hello,

Thank you for your answers.

When I speak of the port A and B have ports MCP23017 and not PIC.
The PIC used is a 877A.
The PIC controls only the LCD and I use the port A of the PIC to bond with the I2C MCP23017.

A big thank you for your help.

Soon

Claudy