04-17-2024, 08:33 AM
(03-30-2024, 02:19 AM)admin Wrote: PCF8574 pcf8574_input1(0x3B,4,5); //channel 1-8 old hardware rev: 0x22 hardware rev >1.5: 0x3ANo, as mentioned earlier... the inputs on my unit have the addresses 3B (not 3A) and 39. In another post you told me this was normal.
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?