Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
M
if your device was build-in MPU6886. it use the ''balance loop" will be reverse direction. so , maybe you can use the Arduino Example
Github LInk: https://github.com/m5stack/M5Stack/tree/master/examples/Modules/Bala