Hello @laflaf3d
I could be wrong, but I think that part of the code is meant to test the Groove port. So I must assume that in the M5Stack factory something with I2C address 0x76 is connected to the Groove port during testing.
Your options are to either ignore that part of the code - it should run even with nothing connected to the Groove port or connect any I2C sensor and modify the code to match its I2C address etc.
Thanks
Felix