Magnetometer Easy Calibration

Thanks again for the codes. I understand the logic, I will complete the codes and start testing them as soon as possible. I will keep you informed about the project