v1.0.0
TMAG5273-MicroPython is a MicroPython library for the TMAG5273 3 axis hall effect sensor.
This library supports the most common funationality of the TMAG5273. If your application requires the more advanced features, please make an issue, make a PR, or contact me.
-
Upload
TMAG5273.py
to your XRP robot- Click here to download this repository. After that, unzip it
- Connect to your robot with the XRP code editor
- In the XRP Code editor, go to
file > Upload to XRP
and selectTMAG5273.py
from the repo you just downloaded - Save the file in the \lib folder, so that
FINAL PATH: /lib/TMAG5273.py
-
Upload
TMAG5273_simple_magnetometer.py
to your XRP robot- In the XRP Code editor, go to
file > Upload to XRP
and selectTMAG5273_simple_magnetometer.py
from the repo you just downloaded - Save the file at the top level, so that
FINAL PATH: /TMAG5273_simple_magnetometer.py
- In the XRP Code editor, go to