pimoroni / flotilla-python

Python library for the Pimoroni Flotilla plug-and-play electronics ecosystem
MIT License
25 stars 15 forks source link

Motion module doesn't return magnetometer values #26

Closed veryalien closed 6 years ago

veryalien commented 7 years ago

The python motion module only returns the accelerometer x, y and z values. The magnetometer x, y and z values are not returned (as they aren't defined in the python code!). It's easy enough to add the 3 missing data values to the motion module code, upgrade the python package manually, and then everything works as expected!

RogueM commented 7 years ago

go on, pushed a PR onto us, we can guide you through with that. That said, I'll have a look at this ASAP, but if ou beat us to it, smashing!

Gadgetoid commented 6 years ago

This was fixed in eb134f14a27de6190ab322522ec2e772f4ec81cd