Bonjour mathy et tous
ce serait pas là que cela coince:
#define Entrechip4 0x23// binaire 0x23 ? B100011
Reading from a port (input mode)
By setting the last bit of the byte containing the slave address to logic 1
the read mode is entered.
#define Entrechip3 0x22// B100010
Writing to the port (output mode)
By setting the last bit of the byte containing the slave address to logic 0
the write mode is entered.
http://www.datasheetcatalog.org/datasheet/philips/PCF8575_3.pdf
ou bien je dis une bêtise ?