# LSM303 Python support

**URL:** <https://forums.pimoroni.com/t/lsm303-python-support/478>\
**Category:** Support\
**Created:** [February 24, 2015, 10:08pm UTC](https://forums.pimoroni.com/t/lsm303-python-support/478 "2015-02-24T22:08:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![northwarks](https://avatars.discourse-cdn.com/v4/letter/n/f19dbf/32.png) [@northwarks](https://forums.pimoroni.com/u/northwarks)\
**Post date:** [February 24, 2015, 10:08pm UTC](https://forums.pimoroni.com/t/lsm303-python-support/478/1 "2015-02-24T22:08:12Z")

</div>

Hi I’ve just ordered the ‘Triple-axis Accelerometer+Magnetometer (Compass) Board - LSM303’, I’ve just noticed I can’t find any python modules for the Pi to get this working, seems to be plenty for the Arduino and I’ve no idea how to port it from c to python - anyone already done this?

Many Thanks

---

<div class="post-metadata">

**Author:** ![gadgetoid](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/gadgetoid/32/13_2.png) [@gadgetoid](https://forums.pimoroni.com/u/gadgetoid)\
**Post date:** [February 25, 2015, 9:37am UTC](https://forums.pimoroni.com/t/lsm303-python-support/478/2 "2015-02-25T09:37:03Z")

</div>

This should get you started: [https://github.com/adafruit/Adafruit-Raspberry-Pi-Python-Code/tree/master/Adafruit\_LSM303](https://github.com/adafruit/Adafruit-Raspberry-Pi-Python-Code/tree/master/Adafruit_LSM303)

This GitHub repository is a treasure-trove of code examples for boards like this!

---

<div class="post-metadata">

**Author:** ![northwarks](https://avatars.discourse-cdn.com/v4/letter/n/f19dbf/32.png) [@northwarks](https://forums.pimoroni.com/u/northwarks)\
**Post date:** [February 25, 2015, 11:08am UTC](https://forums.pimoroni.com/t/lsm303-python-support/478/3 "2015-02-25T11:08:05Z")

</div>

excellent thanks- now where’s my soldering iron (searches garage) …
