bremby
(bremby)
1
Hi,
I have this code running on ESP32 DevKit 4
I/O expander hub definition
mcp23017:
- id: 'mcp23017_hub'
address: 0x20
#nodemcu devkit v4.0
i2c:
sda: 21
scl: 22
scan: True
frequency: 200kHz
how I can “translate it” to use with Lilygo T-Relay CH8
nickrout
(Nick Rout)
2
Not sure what you mean by translate. What are you trying to interface with via i2c?
bremby
(bremby)
3
Yes sir,
how I can define I2C
with the DevkitCmv4 I’m using GPIO21 and GPIO22, based on the documentation
can I select any IO I want to define SDA abd SCL?