03-01-2023, 12:30 AM
this code is work fine, but you have changed, so your board not work well.
8574-DI.zip (Size: 650 bytes / Downloads: 565)
NOT use " PCF8574 pcf8574(0x22,4,5); " our code is "PCF8574 pcf8574(0x22);"
I have told you need set pin define in your arduino config file:
we use NodeMcu-32S board, so do as these photos will be work fine:
8574-DI.zip (Size: 650 bytes / Downloads: 565)
NOT use " PCF8574 pcf8574(0x22,4,5); " our code is "PCF8574 pcf8574(0x22);"
I have told you need set pin define in your arduino config file:
we use NodeMcu-32S board, so do as these photos will be work fine:
YouTube: https://www.youtube.com/c/KinCony
Online Store: https://shop.kincony.com
Alibaba Store: https://kincony.en.alibaba.com/
Online Store: https://shop.kincony.com
Alibaba Store: https://kincony.en.alibaba.com/

