Hello @seguidor777

the M5Core2 talks to the 4 channel relay module via I2C which only requires 2 wires. Check out the documentation. Also have a look at the example.

Thanks
Felix