03-30-2024, 02:19 AM
PCF8574 pcf8574_input1(0x3B,4,5); //channel 1-8 old hardware rev: 0x22 hardware rev >1.5: 0x3A
PCF8574 pcf8574_input2(0x39,4,5); //channel 9-16 old hardware rev: 0x21 hardware rev >1.5: 0x39
PCF8574 pcf8574_output1(0x3C,4,5); //channel 1-8 old hardware rev: 0x24 hardware rev >1.5: 0x3C
PCF8574 pcf8574_output2(0x3D,4,5); //channel 9-16 old hardware rev: 0x25 hardware rev >1.5: 0x3D
address 0x3A and 0x39 for INPUT ports can work well , right?
PCF8574 pcf8574_input2(0x39,4,5); //channel 9-16 old hardware rev: 0x21 hardware rev >1.5: 0x39
PCF8574 pcf8574_output1(0x3C,4,5); //channel 1-8 old hardware rev: 0x24 hardware rev >1.5: 0x3C
PCF8574 pcf8574_output2(0x3D,4,5); //channel 9-16 old hardware rev: 0x25 hardware rev >1.5: 0x3D
address 0x3A and 0x39 for INPUT ports can work well , right?