项目作者: akimach

项目描述 :
RaspberryPi library for the LSM9DS1 9DOF IMU
高级语言: C++
项目地址: git://github.com/akimach/LSM9DS1_RaspberryPi_Library.git
创建时间: 2016-10-14T04:24:28Z
项目社区:https://github.com/akimach/LSM9DS1_RaspberryPi_Library

开源协议:

下载


SparkFun LSM9DS1 RaspberryPI Library

Porting SparkFun_LSM9DS1_Arduino_Library to Raspberry Pi

LSM9DS1

LSM9DS1 Breakout Board (SEN-13284)

This library supports only I2C.

Requirement

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

Install

  1. $ git clone https://github.com/akimach/LSM9DS1_RaspberryPi_Library.git
  2. $ cd LSM9DS1_RaspberryPi_Library
  3. $ make
  4. $ sudo make install

Python version

  1. $ cd LSM9DS1_RaspberryPi_Library/example
  2. $ sudo python LSM9DS1_Basic_I2C.py