8000 GitHub - bitbank2/accelerometers: A C library to read the accelerometer and gyroscope values from a collection of popular sensors
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

A C library to read the accelerometer and gyroscope values from a collection of popular sensors

License

Notifications You must be signed in to change notification settings

bitbank2/accelerometers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Accelerometers

A simple C library to iniitalize and read the data from 4 popular accelerometer chips (ADXL345, MPU6050, BMI160 and LSM9DS1). This library uses the I2C kernel driver to access the sensors (/dev/i2c*) and therefore needs to run with root privilege. A sample program is provided to demonstrate its use.

The I2C addresses can vary depending on the way each chip is wired. The demo program uses the common addresses used by breakout boards.

To build the C library, simply type 'make' in the terminal. To build the sample app, type 'make -f make_sample'. This will build the 'test' executable to show that the library is working.

Copyright (c) 2018 by Larry Bank
Project started 1/25/2018
bitbank@pobox.com

About

A C library to read the accelerometer and gyroscope values from a collection of popular sensors

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published
0