Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add magnetometer offset calibrator example #25

Merged
merged 4 commits into from
Oct 9, 2023
Merged

Add magnetometer offset calibrator example #25

merged 4 commits into from
Oct 9, 2023

Conversation

CedarGroveStudios
Copy link
Contributor

The calibrator code can be used to adjust magnetometer readings for "hard iron" and ambient magnetic fields. Calibration is essential for compass projects in order to compensate for the geographically dependent strength of the earth's magnetic field.

Copy link
Contributor

@FoamyGuy FoamyGuy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me. I tested it successfully on a Feather ESP32-S2 TFT with an LIS3MDL connected via stemma QT. Thank you @CedarGroveStudios

@FoamyGuy FoamyGuy merged commit c6a93e3 into adafruit:main Oct 9, 2023
adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Oct 10, 2023
Updating https://github.com/adafruit/Adafruit_CircuitPython_LIS3MDL to 1.1.26 from 1.1.25:
  > Merge pull request adafruit/Adafruit_CircuitPython_LIS3MDL#25 from CedarGroveStudios/main

Updating https://github.com/adafruit/Adafruit_CircuitPython_SSD1680 to 1.1.5 from 1.1.4:
  > Merge pull request adafruit/Adafruit_CircuitPython_SSD1680#20 from makermelissa/bonnet-example
  > Merge pull request adafruit/Adafruit_CircuitPython_SSD1680#19 from makermelissa/fix-offset

Updating https://github.com/adafruit/Adafruit_CircuitPython_HTTPServer to 4.4.2 from 4.4.1:
  > Merge pull request adafruit/Adafruit_CircuitPython_HTTPServer#70 from michalpokusa/asyncio-examples

Updating https://github.com/adafruit/Adafruit_CircuitPython_Bundle/circuitpython_library_list.md to NA from NA:
  > Updated download stats for the libraries
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants