Modifications to the examples/magnetometer.py file:
Use command-line args to select between the default of the Y/Z axes
and the X/Y or X/Z axes.
Also use command-line to represent the heading as a bar-graph within
the terminal, using the bar-graph drawing method modified from
the examples/graph.py file from the Pimoroni vl53l1x-python project:
https://github.com/pimoroni/vl53l1x-python
Modifications to the examples/magnetometer.py file:
Use command-line args to select between the default of the Y/Z axes and the X/Y or X/Z axes.
Also use command-line to represent the heading as a bar-graph within the terminal, using the bar-graph drawing method modified from the examples/graph.py file from the Pimoroni vl53l1x-python project: https://github.com/pimoroni/vl53l1x-python