Read x-axis and y-axis magnetometer values and convert it into heading degrees based on north magnetic pole
- CRC-8 and CRC-16 data checking
- Calibration (scale and offset) from https://github.com/italocjs/magnetometer_calibration
- Input your magnetic declination in heading_deg variable