Skip to content

akimach/LSM9DS1_RaspberryPi_Library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

bf381e4 · Oct 27, 2017

History

23 Commits
Aug 2, 2017
Nov 19, 2016
Nov 24, 2016
Oct 14, 2016
Sep 22, 2017
Oct 27, 2017

Repository files navigation

SparkFun LSM9DS1 RaspberryPI Library

Porting SparkFun_LSM9DS1_Arduino_Library to Raspberry Pi

LSM9DS1

LSM9DS1 Breakout Board (SEN-13284)

This library supports only I2C.

Requirement

$ sudo apt-get install libi2c-dev
$ git clone git://git.drogon.net/wiringPi
$ cd wiringPi
$ git pull origin
$ ./build

Install

$ git clone https://github.com/akimach/LSM9DS1_RaspberryPi_Library.git
$ cd LSM9DS1_RaspberryPi_Library
$ make
$ sudo make install

Python version

$ cd LSM9DS1_RaspberryPi_Library/example
$ sudo python LSM9DS1_Basic_I2C.py