playztag

Results 2 issues of playztag

Resolving issue 250, divide-by-zero error when calibrating IMU https://github.com/m5stack/M5Stack/issues/250

Following the code examples, if I run `IMU.calibrateMPU9250(IMU.gyroBias, IMU.accelBias);` to calibrate the bias, my program will crash with a divide-by-zero error. Upon further investigation, I found that `readBytes(MPU9250_ADDRESS, FIFO_COUNTH, 2,...