Skip to content

akimach/LSM9DS1_RaspberryPi_Library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

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