Arduino Master-Write I2C Example
I2C Communication between nodeMCU ESP32s and Arduino Uno
Master - ESP32
Slave - Arduino Uno
LED ON when 1 is sent, LED OFF when 0 is sent.
The code and description are at the link below.
https://juahnpop.tistory.com/96