I2C between a esp32 and a Micro:bit


I’m not a programmer and want to use an esp32 with ESPALEXA and NTP clock. Then I would like to talk backwards and forwards with a Micro:bit using I2C. So that I can use makecode or microblocks on the Micro:bit to talk with bluetooth between the micro:bit and other micro:bits. Could someone help me with some simple code to allow bi directional comms between the esp32 and Micro:bit. If you can put some comments in the code explaining what it’s doing, that would be helpful too.

Any help is appreciated