lsm9ds0: Initial implementation
This module implements support for the LSM9DS0 accelerometer, magnetometer, and gyroscope. It was developed on the Sparkfun 9DOF sensor block for Intel Edison. https://www.sparkfun.com/products/13033 Commonly used capabilities are supported, and methods/register definitions exist to easily implement any desired functionality that is missing. Interrupt support has also been added. Signed-off-by: Jon Trulson <jtrulson@ics.com> Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
committed by
Mihai Tudor Panu
parent
03e72e02f8
commit
36b0e1dce0
15
src/lsm9ds0/pyupm_lsm9ds0.i
Normal file
15
src/lsm9ds0/pyupm_lsm9ds0.i
Normal file
@@ -0,0 +1,15 @@
|
||||
%module pyupm_lsm9ds0
|
||||
%include "../upm.i"
|
||||
%include "cpointer.i"
|
||||
|
||||
%include "stdint.i"
|
||||
|
||||
%feature("autodoc", "3");
|
||||
|
||||
%pointer_functions(float, floatp);
|
||||
|
||||
%include "lsm9ds0.h"
|
||||
%{
|
||||
#include "lsm9ds0.h"
|
||||
%}
|
||||
|
||||
Reference in New Issue
Block a user