How to get magnetometer values
I want to get the magnetometer values in a python program, like "stream_acc.py".
We are referring to the following documentation, but it does not say how to get magnetometer values.
Could you tell me how to get magnetometer values?
The process will be very similar to the accelerometer, but the calls will need to be updated to the appropriate ones for the magnetometer. The C++ SDK has details on all of the
libmetawear.calls for the magnetometer here: https://mbientlab.com/documents/metawear/cpp/latest/magnetometer__bmm150_8h.html .
I can look into making a simple magnetometer streaming example script as we do not have one in the Python SDK at the moment.
@tsubakinohana have a look at the example script here: https://github.com/mbientlab/MetaWear-SDK-Python/blob/usb_perf/examples/stream_mag.py