You will also need the CircuitPython library bundle that matches the version of CircuitPython you are using (I used 2.2.0 when working on this).

After downloading and unzipping, you can just drag the adafruit_lsm303.py file into CIRCUITPY/lib.

For the demo code, just rename it main.py and drag onto CIRCUITPY.

This guide was first published on Jan 23, 2018. It was last updated on Jan 23, 2018.

This page (Downloads) was last updated on Jan 17, 2018.

Text editor powered by tinymce.