Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Arduino IDE demo source code for KC868-A16]--#07-PCF8574-DI
#3
You are right.

For KC868-A16

// Set i2c address for output
PCF8574 pcf8574_1(0x24);  // channel 1-8     adress:100100
PCF8574 pcf8574_2(0x25);  //channel 9-16    adress:100101

// Set i2c address for input
PCF8574 pcf8574_1(0x22);  // channel 1-8     adress: 100010
PCF8574 pcf8574_2(0x21);  //channel 9-16    adress: 100001

   
Reply


Messages In This Thread
RE: [Arduino IDE demo source code for KC868-A16]--#07-PCF8574-DI - by admin - 01-05-2022, 01:34 PM

Forum Jump:


Users browsing this thread:
1 Guest(s)