Well if someone like me need a working example, the support provided me with this file and it works:
https://github.com/m5stack/M5Core2/blob/master/examples/Module/SERVO2_PCA9685/SERVO2_PCA9685.ino
Well if someone like me need a working example, the support provided me with this file and it works:
https://github.com/m5stack/M5Core2/blob/master/examples/Module/SERVO2_PCA9685/SERVO2_PCA9685.ino