02-04-2025, 01:47 AM
PROGRAM KC868 A16 DI, DO AND LIQUID CRYSTAL FROM ARDUINO IDE
|
02-05-2025, 08:41 PM
(01-27-2025, 05:43 PM)Cesarcardca Wrote: I NEED PROGRAM KC868 A16 DI, DO AND LIQUID CRYSTAL I2C FROM ARDUINO IDE. Or if your recommendation is through esphome, I could also try it, I need the syntax, or the devices for inputs and outputs so I can manipulate my program since I also need to interrupt a sensor. Just add this code to your code for input/output controls. Code: #include <Wire.h> If you don't know the address of your display's I2C adapter, try finding it with the code below. Most use address 0x3F or 0x27. Code: #include <Wire.h>
02-06-2025, 01:44 AM
(01-31-2025, 05:50 PM)Cesarcardca Wrote:(01-31-2025, 07:42 AM)admin Wrote: because you have not define the i2c bus SDA and SCL pin for ESP32. do you have tested with our demo source code? https://www.kincony.com/forum/showthread.php?tid=1620
02-08-2025, 07:46 PM
I already managed to use inputs and outputs and the 20x4 LCD. thank you so much.
I just need to know how to connect a GPIO input with attachInterrupt. can you help me please?
02-09-2025, 02:46 AM
KC868-A16 not need to use Interrupt pin for PCF8574, pull is enough for read input state.
02-09-2025, 03:02 AM
02-09-2025, 04:16 AM
you need to solder the PCF8574 INT pin to ESP32 one free GPIO.
|
« Next Oldest | Next Newest »
|
Users browsing this thread: |
2 Guest(s) |